#18998 [NEW]: vars using get wont print

From: Date: Tue, 20 Aug 2002 21:32:39 +0000
Subject: #18998 [NEW]: vars using get wont print
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-17351@lists.php.net to get a copy of this message
From: trolldude@gmx.net Operating system: win2k / linux PHP version: 4.2.2 PHP Bug Type: URL related Bug description: vars using get wont print hi, my isp updated to php 4.2.2 since then all my scripts worked fine, as they should. after the update nothing worked anymore. here sample script test.php -------- <?php $test = 1; echo ("<a href=./test2.php?var=".$test.">test</a>"); ?> test2.php --------- <?PHP echo $var; ?> so test2.php echoed nothing. i tried a lot and after installing php 4.2.2 locally, ich found out that in php.ini following lines were commented out: ;;;;;;;;;;;;;;;;; ; Data Handling ; ;;;;;;;;;;;;;;;;; ; ; Note - track_vars is ALWAYS enabled as of PHP 4.0.3 ; The separator used in PHP generated URLs to separate arguments. ; Default is "&". ;arg_separator.output = "&amp;" ; List of separator(s) used by PHP to parse input URLs into variables. ; Default is "&". ; NOTE: Every character in this directive is considered as separator! ;arg_separator.input = ";&" after activating arg_seperator.output + input all my scripts worked fine again. so MY problem now is that my i cant fix it locally but i and i think a lot of more people cant chang php.ini on my ISP Site. is it possible to make this public somewhere on php.net so that also the ISPs will read when downloading ? thanx Markus Brendler -- Edit bug report at http://bugs.php.net/?id=18998&edit=1 -- Try a CVS snapshot: http://bugs.php.net/fix.php?id=18998&r=trysnapshot Fixed in CVS: http://bugs.php.net/fix.php?id=18998&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=18998&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=18998&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=18998&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=18998&r=support Expected behavior: http://bugs.php.net/fix.php?id=18998&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=18998&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=18998&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=18998&r=globals

« previous php.bugs (#17351) next »