|
Posted by Rik Wasmus on 10/14/07 12:33
On Sun, 14 Oct 2007 14:27:29 +0200, <william.hooper@gmail.com> wrote:
> but what is this doing then:
>
> <html>
> <head></head>
> <body>
> <FORM ACTION=3D"test.php"
method=3D"post"
> <INPUT TYPE=3DSUBMIT NAME=3D"hello"
> VALUE=3D"Delete"> </FORM>
> </body>
> </html>
>
> it is certainly going to that test.php form with the ?hello=3DDelete
> post thing..
Which is a GET, not a POST.
http://www.tizag.com/phpT/postget.php
BTW: never, ever, use a GET as an action (alteration of data): GETS shou=
ld =
by bookmarkable and only display date, POSTS can alter data, and are not=
=
bookmarkable. Think for instance about a searchbot that will crawl all =
'delete' links to realize why.
-- =
Rik Wasmus
Navigation:
[Reply to this message]
|