|
Posted by wallster on 02/09/07 13:58
On Feb 8, 12:54 pm, "wallster" <weldingw...@hotmail.com> wrote:
> 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- Hide quoted text -
>
> - Show quoted text -
Web.com just phoned me and said that the php was enabled (which i
knew) but they don't support third party php code. Any ideas to get my
contact form to work?
wally
[Back to original message]
|