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
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
26 + 48 = ?
Subscribe to this entry?

 
 [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: Fri Apr 19 03:01:27 2024 UTC