[FX.php List] [OT] FireFox/IE7 form action

Gjermund Gusland Thorsen ggt667 at gmail.com
Tue Apr 17 02:50:09 MDT 2007


Try to make the form point to testresult.php

and put the follwing inside:

<?php
print_r( $_POST );
exit;
?>

And try the script in all browsers of interest to check their
respective behaviour.

On 4/17/07, Erik Andreas Cayré <erik at cayre.dk> wrote:
>
> Den 17/04/2007 kl. 14.21 skrev Derrick Fogle:
>
> > On Apr 17, 2007, at 12:52 AM, Erik Andreas Cayré wrote:
> >
> >> Can you post your code for us to look at?
> >
> > <html><head><title>Form Test</title></head>
> > <body>
> > Form Test - Rec'd POST values:<br />
> > email: <?= $_POST['email'] ?><br />
> > pass: <?=$_POST['pass'] ?><br />
> > <form action="" method="post" name="login" id="login">
> > <input name="action" id="action" type="hidden" value="login" />
> > Email: <input name="email" id="email" type="text" value="<?=
> > $email ?>" size="25" maxlength="60" onfocus="this.select()" /><br />
> > Password: <input name="pass" id="pass" type="password" value="<?=
> > $pass ?>" size="12" maxlength="40" onfocus="this.select()" /><br />
> > <input name="loginbutton" id="loginbutton" type="submit" value="Log
> > In" />
> > </form>
> > </body>
> > </html>
> >
> > MORE INFO: this form works OK on my own server - I always get field
> > data posted back to form. It only fails on the GoDaddy "hosted for
> > free" account. GoFigure; it must be some 'feature' in their system.
>
> If this is the complete code, I don't see the point of adding $email
> to the value of the form...
> Isn't this variable always going to be empty?
>
> About GoDaddy: they may have some custom limitation on requests or
> whatever (because they are offering 'free' hosting)
> Maybe there is something to learn from their terms of service?
> You could try to rename the form... (Did you check the source of
> their frames for anything suspicious, like another login form)
>
> ---
> Erik Andreas Cayré
> Spangsbjerg Møllevej 169
> 6705 Esbjerg Ø
>
> Privat Tel: 75150512
> Mobil: 40161183
>
> ---
> »Kun p....sure mennesker kan ændre verden. Innovation skabes ikke af
> 'markedsanalyse', men af folk, der er afsindigt irriterede over
> tingenes tilstand «
> --Tom Peters
>
> »Hvis du ikke kan forklare det simpelt, forstår  du det ikke godt nok.«
> -- Albert Einstein
>
> »Hvis du ikke har tid til at gøre det rigtigt, hvornår vil du så have
> tid til at lave det om?«
> -- John Wooden, basketball coach
>
>
> _______________________________________________
> FX.php_List mailing list
> FX.php_List at mail.iviking.org
> http://www.iviking.org/mailman/listinfo/fx.php_list
>


More information about the FX.php_List mailing list