Reply to Newbie Handling forms Help

Your name:

Reply:


Posted by mngong on 11/08/97 11:43

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

<html>
<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" />
</form></body>
</html>
WELCOME>PHP
<html>
<body>Welcome <?php echo $_POST["name"]; ?>.<br />
You are <?php echo $_POST["age"]; ?> years old!</body>
</html>
This returns
Welcome
You are years Old!

Your expert advice is greatly appreciated

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация