Jump to content

[SOLVED] Pulling full current URL


severndigital

Recommended Posts

I know has to be an easy way to do this.

 

I want to pull the entire current url.

 

using $_SERVER['PHP_SELF'] does not seem to work as it only returns the back of the url.

 

I want to get the entire url .. http://www.mywebsite.com/page.php

 

as a variable to parse.

 

I can't find it in the php.net function list.

 

thanks,

 

Chris

Link to comment
https://forums.phpfreaks.com/topic/77022-solved-pulling-full-current-url/
Share on other sites

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.