Turn Directory name into a variable

For example :

[url removed, login to view]

I need $dir1 = melbourne, $dir2 = Brevard County, $dir3 = Florida.

[url removed, login to view]

I need $dir1 = Brevard County, $dir2 = Florida, $dir3 = blank, but no error.

[url removed, login to view]

I need $dir1 = Florida and the other two blank, but no error.

Is it as simple as a type of replace function like :


$dir1 = preg_replace("/_/",' ',$_REQUEST["dir"]);


Then <?php echo $dir1; ?>

Thanks, and let me know if you have any questions.

Compétences : PHP

en voir plus : php turn directory variable, melbourne florida, php melbourne, name + it +, melbourne, turn php site, turn turn, dir directory name, simple directory site, php directory type, variable php, _request, php blank index, unity javascript function type, unhandled exception systemsecuritysecurityexception request permission type sys, javascript request function, turn php, request function, travel request function point, simple directory, name dir php, pages type directory, active directory php function, phplink directory call member function non object, flash function pass variable function

Concernant l'employeur :
( 14 commentaires ) Melbourne, United States

Nº du projet : #1081391

Décerné à:


Ready to start as this is a very small project. Thanks and will start right after you grant the project and deliver in very less time. Thanks!!

%selectedBids___i_sum_sub_7% %project_currencyDetails_sign_sub_8% USD en 0 jours
(16 Commentaires)

5 freelance font une offre moyenne de $30 pour ce travail


please see pm

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% USD en 0 jours
(95 Commentaires)

Hi ! Please check PM !

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% USD en 0 jours
(57 Commentaires)

Hello sir. Plese check inbox

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% USD en 0 jours
(17 Commentaires)

Respected sir, Easy task 5 min works. Lets complete it now. Thanks

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% USD en 0 jours
(0 Commentaires)