I have a question im writing a script to autofill a sign-up form but the form is split up into four pages. So the first one wants you to accept an agreement and then it redirects you to a register form where it ask for name and password then it redirects to the 3 page asking for your blog name and such. "its lifetype cms if your wondering..." I look at the headers as I manually filled it out and it sends a post 4 times separatly...So do you have to break it down like this...
curl_setopt($ch1, CURLOPT_URL, "http://www.example.com/register..start1");
$post ="accept agreement"
curl_setopt($ch1, CURLOPT_HEADER, 0);
$post ="username=blah+password=hello";
curl_setopt($ch2, CURLOPT_URL, "http://www.example.com/register.php");
curl_setopt($ch2, CURLOPT_HEADER, 0);