RegisterGlobals = Off

You need to access these variables by

$_POST[aVariable] or in your case ( adding the variables to the end of a
URL means you are using the GET method: $_GET[aVAriable] etc.
 
On Wed, 2003-05-28 at 11:37, [EMAIL PROTECTED] wrote:
> Hi all!
> 
> I'm using Apache 2.0.45, PHP 4.3.2RC4, and MySQL 3.23.49 on Windows 2003
> Server Standard.
> 
> I have a problem passing variables between pages. They simply get lost.
> Neither GET nor POST pass values, and even "hardcoding" them into the URL,
> like
> 
> htpp://localhost/comeon.php?aVariable=ding&anotherVariable=dong
> 
> and putting this in comeon.php:
> 
> echo("Values: $aVariable, $anotherVariable");
> 
> only outputs
> 
> Values: ,
> 
> ...I've tried with RC3 of PHP, even 4.3.1, but it doesn't work. I've used
> PHP on my machine with Apache 2 before, and it worked fine. Actually I used
> the same scripts fine on my old config. This was on XP however, so I'm not
> sure if it's got something to do with the OS. I'm hoping it's a
> configuration issue.
> 
> Any ideas are VERY much appreciated =).
> 
> Thanks,
> Daniel
> 
> 
> » There are 10 kinds of people - those who know binary and those who don't.
> «
> 


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to