Small Problem Curl

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
Mark Transer
Forum Newbie
Posts: 2
Joined: Sun May 09, 2010 6:59 am

Small Problem Curl

Post 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.
Post Reply