By default PHP 4.3.0 has register_globals = off. As
others have mentioned, you need to change
register_globals to on in order to use HTTP GET
variables as global variables. Otherwise, you need to
use $_GET['varname'] in the case you can't edit the
configuration file.
Regards,
Brian Burg
Hudsonvi
At 10:55 24.01.2003, Rahul said:
[snip]
>When i pass a value through browser to a php page as below
>
>http://www.xyz.com/test.php?abc=test
>
>But when i try to display the variable abc as below
>
>
>
>It is not showing anything in php-4.3.0. but the value is
Hello All,
When i pass a value through browser to a php page as below
http://www.xyz.com/test.php?abc=test
But when i try to display the variable abc as below
It is not showing anything in php-4.3.0. but the value is displayed in
php-4.2.2 version.
Regards,
-sadha
--
PHP General Mailing L
3 matches
Mail list logo