Lucky2710 Posted August 5, 2011 Share Posted August 5, 2011 I've done this before I just can't remember how will someone point me in the right direction? Thanks Say you have this url http://myurl.com/page.php?code=AQBpGFUngD How can i pull the ''code" variable from the url back into a php variable that i can use it again on my page? Thanks ahead of time! Link to comment https://forums.phpfreaks.com/topic/243974-how-to-use-php-to-get-contents-from-url/ Share on other sites More sharing options...
msaz87 Posted August 5, 2011 Share Posted August 5, 2011 $var = $_GET['code']; Link to comment https://forums.phpfreaks.com/topic/243974-how-to-use-php-to-get-contents-from-url/#findComment-1252811 Share on other sites More sharing options...
Lucky2710 Posted August 5, 2011 Author Share Posted August 5, 2011 Oooo Ya! now i remember now. Thanks Link to comment https://forums.phpfreaks.com/topic/243974-how-to-use-php-to-get-contents-from-url/#findComment-1252813 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.