php.net |  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 you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
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.

Thanks

Santiago GL
gavirial@tutopia.com
Medell?n, COLOMBIA

Patches

Pull Requests

History

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

http://www.php.net/support.php

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

 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Wed Oct 16 04:01:27 2024 UTC