Re: PHP not returning variables!

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.

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


[Index of Archives]     [PHP Home]     [PHP Users]     [PHP Database Programming]     [PHP Install]     [Kernel Newbies]     [Yosemite Forum]     [PHP Books]

  Powered by Linux