You are here: Re: web.com related problem?... help! « PHP Programming Language « IT news, forums, messages
Re: web.com related problem?... help!

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]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация