php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #30795 GET method is not working
Submitted: 2004-11-15 17:03 UTC Modified: 2004-11-15 17:08 UTC
From: hansgeorg dot schwibbe at web dot de Assigned:
Status: Not a bug Package: *General Issues
PHP Version: 4.3.9 OS: Windows 2000
Private report: No CVE-ID: None
 [2004-11-15 17:03 UTC] hansgeorg dot schwibbe at web dot de
Description:
------------
I am using the php cgi version (windows installer) with apache 1.3.33 for windows and I cant access the GET data from any URL.

I allways got the error message like:
Notice: Undefined variable: value in c:\programme\apache group\apache\users\administrator\getdata.php on line 2

And on my Linux machine everything works fine.

Reproduce code:
---------------
- index.html -
<a href="getdata.php?value=3">The Link</a>

- getdata.php -
<?php
  echo ($value);
?>


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2004-11-15 17:08 UTC] tony2001@php.net
In PHP 4.2.0, the 'register_globals' setting default changed to
'off'. See http://www.php.net/release_4_2_0.php for more info.
We are sorry about the inconvenience, but this change was a necessary
part of our efforts to make PHP scripting more secure and portable.


 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Wed Sep 18 20:01:27 2024 UTC