RE: [PHP-DB] _POST, _GET, _REQUEST not working

2004-12-23 Thread Ford, Mike
To view the terms under which this email is distributed, please go to http://disclaimer.leedsmet.ac.uk/email.htm On 23 December 2004 01:12, Keane, Warren A FIN:EX wrote: > I did try > > if (empty($_GET)) { parse_str($_SERVER['QUERY_STRING'],$_GET); } > > which worked so I guess I should be a

RE: [PHP-DB] _POST, _GET, _REQUEST not working

2004-12-22 Thread Keane, Warren A FIN:EX
Jochem wrote: >> Thanks but this would be impractical for the real application. I need to >> gather >> customer data and write it to the database. I would likely use POST. I >> couldn't >> get POST to work either but am using _GET right now since I can at least >> see the query string value. >

Re: [PHP-DB] _POST, _GET, _REQUEST not working

2004-12-22 Thread Jochem Maas
Keane, Warren A FIN:EX wrote: Jochem wrote: one interim solution could be to write a function that fills the $_GET and $_POST vars - getting an array from a string like "var1=334343&var2=343434" is fairly trivial how does the following work Thanks but this would be impractical for the real app

RE: [PHP-DB] _POST, _GET, _REQUEST not working

2004-12-22 Thread Keane, Warren A FIN:EX
( ) [_ENV] => Array ( ) [HTTP_POST_FILES] => Array ( ) [_FILES] => Array ( ) [_REQUEST] => Array ( ) [GLOBALS] => Array *RECURSION* ) Array ( ) Array ( ) -Original Message-

Re: [PHP-DB] _POST, _GET, _REQUEST not working

2004-12-22 Thread Jason Wong
On Thursday 23 December 2004 03:12, Keane, Warren A FIN:EX wrote: > You are a sharp one but alas that is not my real code. The real code for > displaying var1 and var2 is: Is there any reason why you originally posted bogus code and not your real code? When you post code, please make sure it's v

RE: [PHP-DB] _POST, _GET, _REQUEST not working

2004-12-22 Thread Keane, Warren A FIN:EX
Original Message- From: Ford, Mike [mailto:[EMAIL PROTECTED] Sent: December 22, 2004 4:16 AM To: Keane, Warren A FIN:EX; php-db@lists.php.net Subject: RE: [PHP-DB] _POST, _GET, _REQUEST not working To view the terms under which this email is distributed, please go to http://disclaimer.leed

RE: [PHP-DB] _POST, _GET, _REQUEST not working

2004-12-22 Thread Ford, Mike
To view the terms under which this email is distributed, please go to http://disclaimer.leedsmet.ac.uk/email.htm On 20 December 2004 21:50, Warren wrote: > Hello, > > I am running PHP 4.39 as a CGI under Tomcat 5.025, Linux 2.4.20-31.9. > Configure = './configure' '--with-java=/usr/java/j2sd

Re: [PHP-DB] _POST, _GET, _REQUEST not working

2004-12-21 Thread Jochem Maas
#language.variables.superglobals if not why not? (read the manual from back to front, it save you lots of time in the long run) [1] => var2=343434 [2] => var1=334343 ) Very puzzling. Anyone else? -Original Message- From: Jochem Maas [mailto:[EMAIL PROTECTED] Sent: December 20, 2

[PHP-DB] _POST, _GET, _REQUEST not working

2004-12-21 Thread Warren
] => var1=334343 ) Very puzzling. Anyone else? -Original Message- From: Jochem Maas [mailto:[EMAIL PROTECTED] Sent: December 20, 2004 5:53 PM To: Keane, Warren A FIN:EX Cc: [EMAIL PROTECTED] Subject: Re: [PHP-DB] _POST, _GET, _REQUEST not working Warren wrote: > Hello, >

Re: [PHP-DB] _POST, _GET, _REQUEST not working

2004-12-20 Thread Jochem Maas
Warren wrote: Hello, I am running PHP 4.39 as a CGI under Tomcat 5.025, Linux 2.4.20-31.9. Configure = './configure' '--with-java=/usr/java/j2sdk1.4.2_04' '--with-servlet=/home/www/jakarta-tomcat-5.0.25' '--with-mysql' I cannot get the _GET function or _REQUEST functions to pick up values from the

[PHP-DB] _POST, _GET, _REQUEST not working

2004-12-20 Thread Warren
Hello, I am running PHP 4.39 as a CGI under Tomcat 5.025, Linux 2.4.20-31.9. Configure = './configure' '--with-java=/usr/java/j2sdk1.4.2_04' '--with-servlet=/home/www/jakarta-tomcat-5.0.25' '--with-mysql' I cannot get the _GET function or _REQUEST functions to pick up values from a form generati