another "post with curl" question
Date: Tue, 28 Aug 2007 23:03:50 +0300
i am new to curl and using it with php to include a remote webpage that has
a html form.
are there any methods for some kind of redirecting variables to original
form rather than the "curled" one?
i wrote this but it doesn't work as i expect.
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $adres);
foreach ($_POST as $nedir => $degermi) $postedicem.=$nedir."=".$degermi."&";
curl_setopt($ch, CURLOPT_POST, 1);
curl_setopt ($ch, CURLOPT_POSTFIELDS, $postedicem);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 1);
Received on 2007-08-29