php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #21432 Can't get variables in php!
Submitted: 2003-01-05 10:13 UTC Modified: 2003-01-05 10:15 UTC
From: totalmeltdown at libero dot it Assigned:
Status: Not a bug Package: Variables related
PHP Version: 4.3.0 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: totalmeltdown at libero dot it
New email:
PHP Version: OS:

 

 [2003-01-05 10:13 UTC] totalmeltdown at libero dot it
I don't know why...but i have a problem with the variables: i am using lastest version of apache 2.0.43 (but the problem there was also with 1.3.22).
The problem is that variables in url (script.php?variable=1234 for ex.) and in post method then are not in php (if i write echo $variable php says that $variable is empty). But using phpinfo() i can see the variable...

What a bug!! (And it's very strange that phpmyadmin works correctly!!!)

See you and tnx!

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2003-01-05 10:15 UTC] rasmus@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.


 [2004-08-16 17:47 UTC] benson at hotmail dot com
I faced the same problem before

But after I add the statement:
$variable=$_GET["variable"];
the problem is solved
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu May 16 19:01:32 2024 UTC