PHP 4.0 Bug #7545 Updated: impossible to send variable

From: Date: Wed, 01 Nov 2000 03:05:21 +0000
Subject: PHP 4.0 Bug #7545 Updated: impossible to send variable
Groups: php.dev 
Request: Send a blank email to php-dev+get-36572@lists.php.net to get a copy of this message
ID: 7545 Updated by: joey Reported By: skhemais@netfly.fr Status: Feedback Bug Type: Variables related Assigned To: Comments: (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. Previous Comments: --------------------------------------------------------------------------- [2000-10-31 10:15:50] skhemais@netfly.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. --------------------------------------------------------------------------- Full Bug description available at: http://bugs.php.net/?id=7545

« previous php.dev (#36572) next »