Re: [PHP-DEV] PHP 4.0 Bug #7545: impossible to send variable From: Ignacio Vazquez-Abrams (ignacio <email protected>)
Date: 10/31/00

On 31 Oct 2000 skhemais <email protected> wrote:

> From: skhemais <email protected>
> Operating system: windows 98 SE
> PHP version: 4.0.3pl1
> PHP Bug Type: Variables related
> Bug description: impossible to send variable
>
> 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.
>

1) Is register_globals on?
2) Did you try using $HTTP_*_VARS?

-- 
Ignacio Vazquez-Abrams  <ignacio <email protected>>

-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>