suyesh.amatya Posted July 28, 2008 Share Posted July 28, 2008 page1.php contains html form which displays post data by print_r($_POST); now page2.php has a following curl script: $curl_handle=curl_init(); curl_setopt($curl_handle,CURLOPT_URL,'http://localhost/page1.php'); curl_setopt($curl_handle,CURLOPT_CONNECTTIMEOUT,2); curl_setopt($ch, CURLOPT_POST, 1); curl_setopt ( $curl_handle , CURLOPT_RETURNTRANSFER , 1 ); curl_exec($curl_handle); curl_close($curl_handle); I am not being able to display this post data in the page2.php which is a curl script page. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.