|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
I want to read out the Path of the current Html Page and save it into a variable $path .
i.e. the url is http://www.jazzine.com/artists/index.phtml $path should be /artists/ . How can I do it? Please I NEED HELP urgent, send me answers to webmaster@jazzine.com. Thanks a lot Felix Lamouroux |
|
#2
|
|||
|
|||
|
well $REQUEST_URL brings back the full directory including the .html so
<?php print "[$REQUEST_URL]"; ?> should print out /artists/index.phtml Cisk |
![]() |
| Viewing: Dev Shed Forums > Programming Languages > PHP Development > Reading out the path of the current URL |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|