proctk Posted September 28, 2007 Share Posted September 28, 2007 Hi how would I call a web page url I'm interested in the current active page Example the URL when I type this post is http://www.phpfreaks.com/forums/index.php?action=post;board=1.0 I want to assign it to a variable ie $url=http://www.phpfreaks.com/forums/index.php?action=post;board=1.0 thank you Link to comment https://forums.phpfreaks.com/topic/70989-get-webpage-url/ Share on other sites More sharing options...
cooldude832 Posted September 28, 2007 Share Posted September 28, 2007 look up the superglobal array $_SERVER on php.net it has alot of useful stuff. Let you learn more than just that so you dont' ask 2 questions Link to comment https://forums.phpfreaks.com/topic/70989-get-webpage-url/#findComment-356935 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.