Page 1 of 1

Small Problem Curl

Posted: Sun May 09, 2010 10:39 am
by Mark Transer
As the topic I have a problem because my curl introduce the data where you do not have:
For this I want to make:

Code: Select all

<input type='text' name='login' class='loginForm' />
And to be amended:

Code: Select all

<input type='text' name='login' class='registerForm' onChange='check' value='xxxxxxx'> 
With this script:

Code: Select all

$postFields['login'] = 'xxxxxxx';
curl_setopt ($ch, CURLOPT_POSTFIELDS, $postFields);
I want to curl my introduced changes to : loginForm not registerForm.