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 Quote 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 Quote Link to comment https://forums.phpfreaks.com/topic/70989-get-webpage-url/#findComment-356935 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.