Newbie Handling forms Help

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View
PHP 5 on apache
$_POST and $_GET  return  no values
Not sure anything was changed in php.ini file
register_globals = Off
 magic_quotes_gpc = Off
The sample  code below is an example

<body><form action="welcome.php" method="POST">
Enter your name: <input type="text" name="name" />
Enter your age: <input type="text" name="age" />
<input type="submit" />
<body>Welcome <?php echo $_POST["name"]; ?>.<br />
You are <?php echo $_POST["age"]; ?> years old!</body>
This returns
You are  years Old!

Your expert advice  is greatly appreciated

Re: Newbie Handling forms Help

FWIW: It's not something in the php code. I cut and pasted your example
into my Yahoo/Geocities hosted server and it worked just fine.


Re: Newbie Handling forms Help

That is clear it is not the code.I was wondering is there anything
parameter in the php.ini that needs to be turned on or off

Thanks in advance

Re: Newbie Handling forms Help

Send me your php.ini if you like and I'll take a look.

Site Timeline