I am doing a formless post to a CGI script on another site (PayPal). I am
doing this because the current site design has 2 different submit images on
a single form which need to post different data to the CGI script (after
registering the customer in the local database) dependent upon whcih image
gets clicked.

The PayPal CGI script has user interaction - the user has to login.

I am doing the formless post by using fsockopen() and fputs() to open the
http port and posting the data which seems to be working fine...and I
receive the raw http headers and html code when I read the open socket...
now for the $64m question - how can I emulate a normal form submit in
actually *loading* the page that is sent by the CGI script in the normal
fashion? If I don't read the data on the open socket then my script just
dies with no output...

Am I trying to do something very stupid here? :)

TIA
Rich


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

Reply via email to