Re: [PHP] Re: POST fields through CURL

2002-08-11 Thread Bogdan Stancescu
> >>-Original Message- >>From: Bogdan Stancescu [mailto:[EMAIL PROTECTED]] >>Sent: Sunday, August 11, 2002 22:36 PM >>To: [EMAIL PROTECTED] >>Subject: [PHP] Re: POST fields through CURL >> >> >>Yes, the strings are formatted exactly like

RE: [PHP] Re: POST fields through CURL

2002-08-11 Thread Jonathan Rosenberg
P headers. Just the POST data. > -Original Message- > From: Bogdan Stancescu [mailto:[EMAIL PROTECTED]] > Sent: Sunday, August 11, 2002 22:36 PM > To: [EMAIL PROTECTED] > Subject: [PHP] Re: POST fields through CURL > > > Yes, the strings are formatted exactly like GET st

[PHP] Re: POST fields through CURL

2002-08-11 Thread Bogdan Stancescu
Yes, the strings are formatted exactly like GET strings, but you'll have to build the whole HTTP header in front of them in order to get a valid HTTP request. So then, your code should look something like $myvar1=rawurlencode($myvar1); $myvar2=rawurlencode($myvar2); $parsed="myvar1=$myvar1&myva