Re: PHP Basic's Problem with a simple script.
| From: | Chris Shiflett | Date: | Tue, 01 Jun 2004 16:07:03 +0000 |
| Subject: | Re: PHP Basic's Problem with a simple script. | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-187362@lists.php.net to get a copy of this message | ||
--- php-general <php-general@rf-funkinternet.at> wrote:
> In php.ini, "safe_mode" is off, and "register_globals" is on.
[snip]
> "You have entered the following name: ..." is never displayed.
[snip]
> echo "You have entered the following";
> echo " Name: $vn $nn<p>";
I guess you found a php.ini somewhere and saw that register_globals was
on? I seriously doubt your findings (unless I overlooked a typo regarding
a variable name or something), but please add this code to be sure:
echo 'register_globals [' . ini_get('register_globals') . ']';
Hope that helps.
Chris
=====
Chris Shiflett - http://shiflett.org/
PHP Security - O'Reilly
Coming Fall 2004
HTTP Developer's Handbook - Sams
http://httphandbook.org/
PHP Community Site
http://phpcommunity.org/