RE: [PHP-DB] Help needed
| From: | Gary Every | Date: | Mon, 04 Oct 2004 17:12:49 +0000 |
| Subject: | RE: [PHP-DB] Help needed | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-36585@lists.php.net to get a copy of this message | ||
Check to see if your register_globals is set to off in php.ini. If so
(likely, since it defaults to that value) you'll need to access your
POST and GET variables like this:
GET vars:
$var = $_GET['var'];
POST vars:
$var = $_POST['var'];
Gary Every
Sr. UNIX Administrator
Ingram Entertainment Inc.
2 Ingram Blvd, La Vergne, TN 37089
"Pay It Forward!"
-----Original Message-----
From: Manoj Japher [mailto:manojjapher@rediffmail.com]
Sent: Monday, October 04, 2004 9:29 AM
To: php-db@lists.php.net
Subject: [PHP-DB] Help needed
hi,
I am new to PHP and I am not sure if this is the right forum.
I am trying to run PHP thro webmin using CGI scripts. PHP runs fine
except that when I am trying to read variables coming thro' a form after
hitting the submit button, I get NULL values.
I can read and write to the database without any trouble. The problem
is reading the form values.
Any help would be greatly appreciated.
Many Thanks,
Manoj
"Life,it is not a problem to be solved, but
a process to be managed."