|
Posted by wallster on 02/08/07 17:54
On Feb 8, 11:04 am, Ken Robinson <sendspamh...@rbnsn.com> wrote:
> "wallster" <weldingw...@hotmail.com> wrote in part:
>
> > Here's the code i'm using:
> > ----------------------------------------------------------------------
> > ----------------------------------- <?php
> > if(!$visitormail == "" && (!strstr($visitormail,"@") || !
> > strstr($visitormail,".")))
> > {
> > echo "<h2>Go Back - Enter valid e-mail</h2>\n";
>
> This could be a register_globals problem. It looks like your code was
> written assuming that register_globals is enabled. If it was changed to
> be disabled, then you're code would break.
>
> If you create, upload, and run a script consisting of the lines:
> <?php
> phpinfo();
> ?>
>
> What does it say about register_globals?
>
> Ken
thanks Ken, i just ran that script and the register_globals is on.
here's the phpinfo file:
http://www.wallys-speed-shop.com/trial_test.php
thanks,
wally
Navigation:
[Reply to this message]
|