Re: [PHP] Getting Information from a CGI POST

2001-07-04 Thread Don Read
On 03-Jul-01 Brad Hubbard wrote: On Tue, 3 Jul 2001 02:51, Don Read wrote: $pstr='FltNum=2972page=fiselectDay=July+02'; $fp=openpost('dps2.usairways.com', '/cgi-bin/fi', $pstr); // i'm not so sure about that selectDay, javascript ain't my thing. This is implementation dependant (it's

Re: [PHP] Getting Information from a CGI POST

2001-07-03 Thread Brad Hubbard
On Tue, 3 Jul 2001 02:51, Don Read wrote: $pstr='FltNum=2972page=fiselectDay=July+02'; $fp=openpost('dps2.usairways.com', '/cgi-bin/fi', $pstr); // i'm not so sure about that selectDay, javascript ain't my thing. This is implementation dependant (it's using an array they've created

Re: [PHP] Getting Information from a CGI POST

2001-07-02 Thread Clayton Dukes
, CCDP, CCNP Download Free Essays, Term Papers and Cisco Training from http://www.gdd.net - Original Message - From: Don Read [EMAIL PROTECTED] To: Clayton Dukes [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Monday, July 02, 2001 12:01 AM Subject: RE: [PHP] Getting Information from a CGI POST

Re: [PHP] Getting Information from a CGI POST

2001-07-02 Thread Don Read
On 02-Jul-01 Clayton Dukes wrote: Don, Thanks for the info. I'm a bit confused, When I call the function, what is the syntax as it applies to my form? ie: openpost (dps2.usairways.com, /cgi-bin/fi, FltNum=2972 page=fi); I know this doesn't work, but do you see what I mean? Forgive

RE: [PHP] Getting Information from a CGI POST

2001-07-01 Thread Jason Murray
Can this be done? If so, can someone point me in the right direction? Specifically, how to get the CGI Post data returned from thier server? As a starting point, grab their form, including all the javascript associated with it, and put it onto your own page. Change the FORM tag to submit to

RE: [PHP] Getting Information from a CGI POST

2001-07-01 Thread Don Read
On 02-Jul-01 Clayton Dukes wrote: Hi everyone, Is it possible to get information from a POST to a cgi and return the value? Yes. function openpost($host, $path, $poststr) { $errno=0; $errstr=''; $hdr=sprintf(POST /%s HTTP/1.0\r\nContent-Length: %d\r\n, $path,