RE: Help needed

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxx] 
Sent: Monday, October 04, 2004 9:29 AM
To: php-db@xxxxxxxxxxxxx
Subject:  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."

-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux