Bug #13845: undefined variable warning
| From: | gavirial at tutopia dot com | Date: | Sat, 27 Oct 2001 04:22:50 +0000 |
| Subject: | Bug #13845: undefined variable warning | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-69110@lists.php.net to get a copy of this message | ||
From: gavirial@tutopia.com
Operating system: Windows 98
PHP version: 4.0.4pl1
PHP Bug Type: Variables related
Bug description: undefined variable warning
* Let´s say I´ve got this in an html file:
<form action="processcrazy.php" method=post>
<input type="text" name="crazy" size=3 maxlength=3>
In processcrazy.php as follows:
<?
echo $crazy." crazy scripts<br>";
?>
As you should notice, the script is supposed to tell me the value I
entered in the text field of the html form. This code works well under
Linux/Apache, but under Windows/Apache I´ve got this warning:
Warning: Undefined variable: crazy in c:\archivos de programa\apache
group\apache\htdocs\processcrazy.php on line 19
crazy scripts
I can´t believe I´m the only person having this problem, but I didn´t find
any reported bug above this in your bugs search engine.
Thanks
Santiago GL
gavirial@tutopia.com
Medellín, COLOMBIA
--
Edit bug report at: http://bugs.php.net/?id=13845&edit=1