Jump to content

[SOLVED] How to find request URL?


kks_krishna

Recommended Posts

hi,

 

$_SERVER['PHP_SELF'];

$_SERVER['REQUEST_URI']

 

working only for the current file. for example i have one url which includes the footer.php. If am using the above variables, it shows the path of the footer file in the server. But i want the main url in the address bar.

 

 

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.