moon 111 Posted September 29, 2008 Share Posted September 29, 2008 Hi, I'm new to cURL and I'm not sure how to get the response from the website I'm sending this to. How exactly can I add that to this script? All help would be hugely appreciated. <?php $ch = curl_init(); curl_setopt($ch, CURLOPT_URL,"http://www.kingdavidwebdesign.com/post.php"); curl_setopt($ch, CURLOPT_POST, 1); curl_setopt($ch, CURLOPT_POSTFIELDS, "test=123&test2=ghf&yes=true"); curl_exec ($ch); curl_close ($ch); ?> Link to comment https://forums.phpfreaks.com/topic/126245-curl-help/ Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.