php-windows | 2002071
Date: 07/11/02
- Next message: Todd Williamsen: "Re: [PHP-WIN] Re: Calling Windows DLL Files"
- Previous message: Per: "[PHP-WIN] second argument in strtotime seems to have no effect"
- In reply to: fungi: "Re: [PHP-WIN] strange error"
- Next in thread: Ross Fleming: "RE: [PHP-WIN] Formless post question"
- Reply: Ross Fleming: "RE: [PHP-WIN] Formless post question"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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
- Next message: Todd Williamsen: "Re: [PHP-WIN] Re: Calling Windows DLL Files"
- Previous message: Per: "[PHP-WIN] second argument in strtotime seems to have no effect"
- In reply to: fungi: "Re: [PHP-WIN] strange error"
- Next in thread: Ross Fleming: "RE: [PHP-WIN] Formless post question"
- Reply: Ross Fleming: "RE: [PHP-WIN] Formless post question"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

