On Fri, February 2, 2007 2:45 am, chetan rane wrote:
> i tried curl to access HTTPS pages but how do i get the POST variables
> been
> passed to me .
> here is teh exact thing which i want.
> i have a HTML page when i submit  the form i want ot read all teh POST
> data
> using HTTPS.
> I know its possible using CURL but dont exactly know how to do it

You've got things a bit backwards...

There's the CLIENT which curl represents.

There's the SERVER using HTTPS.

You use curl (CLIENT) to *send* POST data to the SERVER.

The SERVER responds with HTML output [*]

So you just send the POST data to the SERVER with curl, and read the
HTML response.

If you are also programming the SERVER side, the POST data in PHP is
just in $_POST array.  (Unless you've configured things oddly.)

[*] Okay, the request could be for a JPEG or PDF or something, and the
Content-type and all that could be sending out something whack...


-- 
Some people have a "gift" link here.
Know what I want?
I want you to buy a CD from some starving artist.
http://cdbaby.com/browse/from/lynch
Yeah, I get a buck. So?

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to