Re: Getting Information from a CGI POST

From: Date: Wed, 04 Jul 2001 19:20:20 +0000
Subject: Re: Getting Information from a CGI POST
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-56220@lists.php.net to get a copy of this message
On 03-Jul-01 Brad Hubbard wrote: > On Tue, 3 Jul 2001 02:51, Don Read wrote: > >> $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. > > This is implementation dependant (it's using an array they've created > (monthNames should be defined futher up the page within a <script> tag) so > it > could be anything) Understood. > there doesn't appear to be a "+" in there though so it's > more likely selectDay=July02 or selectDay=0702 or selectDay=702. > > The OP : <script> todayMonth = monthNames[today.getMonth() + 1]; document.write( '<option value=\"' + todayMonth + ' ' + today.getDate() + '\">today</option>'); I expected the todayMonth+ ' ' + > Cheers, > Brad -- 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 (#56220) next »