PHP 4.0 Bug #5029: not work variables functions when variable geting from forms
| From: | den at thukraine dot com | Date: | Wed, 14 Jun 2000 11:16:37 +0000 |
| Subject: | PHP 4.0 Bug #5029: not work variables functions when variable geting from forms | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-21299@lists.php.net to get a copy of this message | ||
From: den@thukraine.com
Operating system: Linux
PHP version: 4.0.0 Release
PHP Bug Type: Scripting Engine problem
Bug description: not work variables functions when variable geting from forms
--------------- form.html -----------------
<html>
<head>
<title>Untitled Document</title>
</head>
<body bgcolor="#FFFFFF">
<form method="get" action="1.php">
<p>
<input type="text" name="price">
</p>
<p>
<input type="submit" name="Submit" value="Submit">
</p>
</form>
</body>
</html>
--------------- end form.html -----------------
--------------- 1.php -----------------
<?php
echo "Price==",$price;
if( is_double($price))
{
echo " <P>Number";
}
else
echo " <P>String";
?>
--------------- end 1.php -----------------