Re: Please help
| From: | Wendell Brown | Date: | Tue, 10 Jun 2003 12:51:44 +0000 |
| Subject: | Re: Please help | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-150898@lists.php.net to get a copy of this message | ||
On Tue, 10 Jun 2003 21:14:52 +1000, Ben Houlton wrote:
>I've tried this code on a web server and it worked, but on my localhost server it did not
>work. It just looped the "ADD RECORD" text (not including database infomation).
>My code is below:
><HTML>
>
><BODY>
>
><?php
>
>$register_globals;
It sounds like you have register_globals turned on on the "web server"
but off on the "localhost server". The $register_globals line in your
code above does absolutely nothing. I would recommend searching this
list for solutions. To see for sure what the status of
register_globals is look at phpinfo() or simply cut and paste the code
below to phpinfo.php and run it.
-----phpinfo.php-----
<?php
phpinfo();
?>