|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #13845 undefined variable warning
Submitted: 2001-10-27 00:22 UTC Modified: 2001-10-27 01:33 UTC
From: gavirial at tutopia dot com Assigned:
Status: Not a bug Package: Variables related
PHP Version: 4.0.4pl1 OS: Windows 98
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Bug Type:
From: gavirial at tutopia dot com
New email:
PHP Version: OS:


 [2001-10-27 00:22 UTC] gavirial at tutopia dot com
* 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.


Santiago GL
Medell?n, COLOMBIA


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2001-10-27 01:33 UTC]
Please ask support questions on the mailing lists:

Hint: Check your register_globals / error_reporting settings in php.ini 

PHP Copyright © 2001-2023 The PHP Group
All rights reserved.
Last updated: Sun Dec 10 14:01:27 2023 UTC