Re: Getting Information from a CGI POST

From: Date: Mon, 02 Jul 2001 16:51:15 +0000
Subject: Re: Getting Information from a CGI POST
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-55867@lists.php.net to get a copy of this message
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 my ignorance, I'm still learning :-) > Also, how do I set more than one NAME= VALUE= pair? > you'll build the string yourself before the call: $pstr='FltNum=2972&page=fi&selectDay=July+02'; $fp=openpost('dps2.usairways.com', '/cgi-bin/fi', $pstr); // i'm not so sure about that selectDay, javascript ain't my thing. Regards, -- Don Read dread@texas.net -- It's always darkest before the dawn. So if you are going to steal the neighbor's newspaper, that's the time to do it.

« previous php.general (#55867) next »