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
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: 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

Pull Requests

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-2025 The PHP Group
All rights reserved.
Last updated: Tue May 13 09:01:27 2025 UTC