Jump to content

how to use php to get contents from url


Lucky2710

Recommended Posts

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

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.