php-windows Digest 10 Dec 2005 03:51:05 -0000 Issue 2847

Topics (messages 26573 through 26573):

Re: PHP not returning variables!
        26573 by: S. Kang

Administrivia:

To subscribe to the digest, e-mail:
        [EMAIL PROTECTED]

To unsubscribe from the digest, e-mail:
        [EMAIL PROTECTED]

To post to the list, e-mail:
        [email protected]


----------------------------------------------------------------------
--- Begin Message ---
I guess register_globals = off in your php.ini (as default setting in PHP 5)

you got to use $_GET["var"] instead of $var.

Matt Firth wrote:
Hi,
I have PHP 5 and Apache 1.3 on Windows 98. Its running OK, but whenever a global is specified in the address, it is not passed on to the script.

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)

Any suggestions?

Many thanks in advance,
Matt Firth.

--- End Message ---

Reply via email to