On Sun, 2008-12-28 at 18:59 +0200, Dotan Cohen wrote:
> 2008/12/28 tedd :
> > Dotan:
> >
> > Maybe this is too simple, but what I do is to leave the form attribute
> > action="" blank.
> >
> > My understanding (may be wrong) is that forms always submit to themselves
> > unless directed to do so oth
At 6:59 PM +0200 12/28/08, Dotan Cohen wrote:
2008/12/28 tedd :
Dotan:
Maybe this is too simple, but what I do is to leave the form attribute
action="" blank.
My understanding (may be wrong) is that forms always submit to themselves
unless directed to do so otherwise.
Cheers,
tedd
2008/12/28 tedd :
> Dotan:
>
> Maybe this is too simple, but what I do is to leave the form attribute
> action="" blank.
>
> My understanding (may be wrong) is that forms always submit to themselves
> unless directed to do so otherwise.
>
> Cheers,
>
> tedd
>
Thanks, Tedd. That approach seems a bi
At 7:31 PM +0200 12/27/08, Dotan Cohen wrote:
Is there a compelling reason to use either REQUEST_URI or SCRIPT_NAME
in the action of a form that I want to submit to the same URL that it
came from (the script parses whether or not there is a Submit to know
if it should display the form or the resu
2008/12/27 Daniel Brown :
>Happy Chanukah, Dotan!
>
And a Merry Christmas!
>For portability's sake, especially if you anticipate users saving
> the form to their local systems, I would recommend:
>
> $action = "http://".$_SERVER['HTTP_HOST'].$_SERVER['PHP_SELF'];
> ?>
Naturally I have H
On Sat, Dec 27, 2008 at 12:31, Dotan Cohen wrote:
> Is there a compelling reason to use either REQUEST_URI or SCRIPT_NAME
> in the action of a form that I want to submit to the same URL that it
> came from (the script parses whether or not there is a Submit to know
> if it should display the form
Is there a compelling reason to use either REQUEST_URI or SCRIPT_NAME
in the action of a form that I want to submit to the same URL that it
came from (the script parses whether or not there is a Submit to know
if it should display the form or the results). I need a portable
solution, that is why I
7 matches
Mail list logo