Thanks for the reply :)
That works fine. But its wierd how the old code doesnt work on my new 
server.

Before, the following code worked fine when requesting 
"test.php?var=myvalue"

<?
global $var;
echo $var;
?>

But on the new server it doesnt, it produces a blank page. The following 
however, does work.

<?
echo $_GET['var'];
?>

Any idea why there acting differently?

Matt :)

"Jay Blanchard" <[EMAIL PROTECTED]> wrote in message 
news:[EMAIL PROTECTED]
> [snip]
> For example:
> "Page.php?var=value" produces the same document as just "Page.php" when 
> they
>
> should produce different documents.
>
> I know it is not a bug in my script as I've had the script running fine on
> my other server (PHP5, Apache 2.0, Windows XP Pro)
> [/snip]
>
> You have echo'd $_GET['var'] and was the proper value? 

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

Reply via email to