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

Posted by Ken Robinson on 02/08/07 16:04

"wallster" <weldingwalt@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

 

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

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