wkilc Posted July 16, 2008 Share Posted July 16, 2008 Hello, I am trying to capture a full URL, including any variables (queries) Fro example... if the page that is filtered was... "index.php?car=Honda" I THINK I'm in the ballpark, but I cannot get the syntax right. <? $page_name = "index.php?=$_SERVER['QUERY_STRING']"; ?> Thank you. ~Wayne Link to comment https://forums.phpfreaks.com/topic/115084-solved-help-with-this-statement/ Share on other sites More sharing options...
Third_Degree Posted July 16, 2008 Share Posted July 16, 2008 <?php print $_SERVER["HTTP_HOST"] . $_SERVER["REQUEST_URI"]; ?> Link to comment https://forums.phpfreaks.com/topic/115084-solved-help-with-this-statement/#findComment-591792 Share on other sites More sharing options...
wkilc Posted July 16, 2008 Author Share Posted July 16, 2008 Thank you! ~Wayne Link to comment https://forums.phpfreaks.com/topic/115084-solved-help-with-this-statement/#findComment-592045 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.