WebCheez Posted April 7, 2012 Share Posted April 7, 2012 I'm trying to send some POST data to a page and then get the contents of it. The page is not on my server, so I can't use Sessions or GET. Google hasn't provided me with a definite answer. How would I do this? Link to comment https://forums.phpfreaks.com/topic/260493-read-external-webpage-with-post-data/ Share on other sites More sharing options...
requinix Posted April 7, 2012 Share Posted April 7, 2012 cURL would be the best place to go. Check out the examples in the various functions' page; you'll need the CURLOPT_POST and CURLOPT_POSTFIELDS options at a minimum. Link to comment https://forums.phpfreaks.com/topic/260493-read-external-webpage-with-post-data/#findComment-1335147 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.