php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #7545 impossible to send variable
Submitted: 2000-10-31 10:15 UTC Modified: 2000-11-29 06:36 UTC
From: skhemais at netfly dot fr Assigned:
Status: Closed Package: Variables related
PHP Version: 4.0.3pl1 OS: windows 98 SE
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: skhemais at netfly dot fr
New email:
PHP Version: OS:

 

 [2000-10-31 10:15 UTC] skhemais at netfly dot fr
the script :
<html>
<?
$var++;
echo "<a href=test.php4?var=$var> lien</a>";
echo "<br>var=$var";
?>
</html>

the pb : the variable isn't passed and then  incremented.
thx for all.

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-10-31 22:05 UTC] joey@php.net
(Ignacio Vazquez-Abrams <ignacio@openservices.net> asked):
1) Is register_globals on?
2) Did you try using $HTTP_*_VARS?
===================================

Check you php.ini file, if register_globals is not turned on, do so. If this does not help, try HTTP_GET_VARS["var"].

If you are using php.ini-optimized, please read the comments in that file.
 [2000-11-29 06:36 UTC] sniper@php.net
No feedback -> closing.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Apr 27 12:01:29 2024 UTC