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
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
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

Add a Patch

Pull Requests

Add a Pull Request

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-2020 The PHP Group
All rights reserved.
Last updated: Tue Nov 24 16:01:24 2020 UTC