php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #18099 passing variables doesn't work?
Submitted: 2002-07-01 19:09 UTC Modified: 2002-07-01 19:11 UTC
From: dev at techware dot it Assigned:
Status: Not a bug Package: Scripting Engine problem
PHP Version: 4.2.1 OS: win 2k sp 2
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: dev at techware dot it
New email:
PHP Version: OS:

 

 [2002-07-01 19:09 UTC] dev at techware dot it
the strangest thin i evere saw... everything works ok but it seems i can't pass variables neither tru url quey or form submitting... i.e.:

calling http://..... test.php?X=something

and in test.php:

<?=$X?>

i get:

Notice: Undefined variable: X in ...\test.php on line ...

(PHP 4.2.1 installed on a brand new server :-o...and reinstalled so many times ...)

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-07-01 19:11 UTC] mfischer@php.net
In PHP 4.2.0, the 'register_globals' setting default changed to
be 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-2025 The PHP Group
All rights reserved.
Last updated: Wed Jul 02 10:01:38 2025 UTC