Hi, Wednesday, October 9, 2002, 10:19:30 PM, you wrote: MK> Ok, my bad, firstup i didnot set in httpd.conf to process *.php3 files. But MK> i already fix that. So, now all I'm getting is that when I I try to process MK> the data from a form whether I'm using GET or POST method, the value that i MK> get processed form is still null.
MK> I check in the error log file and this is what it say: MK> [Wed Oct 09 20:18:47 2002] [error] PHP Notice: Undefined variable: name in MK> e:\program files\apache group\apache\htdocs\test.php3 on line 3 MK> Or is there something wrong in my code? MK> <form method=GET action=test.php3> MK> <tr> MK> <td width="50%" style="border-style: none; border-width: medium" height="20">> MK> <p>Name: <input type="text" name="name" size="20"></p> MK> <p> </p> MK> <p><input type="submit" value="Submit" name="submit"><input type="reset" MK> value="Reset" name="B2"></p> MK> </form> MK> ---------------------------------------------------------------------------- MK> ----------------------- MK> <html> MK> <?php MK> print "my name is $name"; ?>> MK> </html> Try <?php print "my name is $_GET['name']"; ?> If that works lookup register_globals on www.php.net -- regards, Tom -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php