Re: value not displayed
| From: | Ernest E Vogelsinger | Date: | Fri, 24 Jan 2003 09:50:22 +0000 |
| Subject: | Re: value not displayed | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-132961@lists.php.net to get a copy of this message | ||
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
>
><?php echo $abc; ?>
>
>It is not showing anything in php-4.3.0. but the value is displayed in
>php-4.2.2 version.
--------------------[snip]--------------------
Perhaps the 4.2.2 server is configured with register_globals on, and the
4.3.0 has set this to off?
Try
<?php echo $_REQUEST['abc']; ?>
--
>O Ernest E. Vogelsinger
(\) ICQ #13394035
^ http://www.vogelsinger.at/