Re: Page name for form submit: REQUEST_URI or SCRIPT_NAME

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, 2008-12-28 at 18:59 +0200, Dotan Cohen wrote:
> 2008/12/28 tedd <tedd.sperling@xxxxxxxxx>:
> > 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 bit dangerous for non-standard
> browsers such as mobile phones and the like who's developers might not
> have though about it. Also, in the event that a user saves the form
> locally (likely in this case) I need it to have a place to go!
> 
> Thanks!
> 
It's standard form behaviour that the attribute defaults to itself if
not set. If it doesn't work with some browsers, then it's more a case of
bad browser than anything. 


Ash
www.ashleysheridan.co.uk


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux