NYCPHP Meetup

NYPHP.org

[nycphp-talk] Preferred method for parsingmulti-row submitbuttons

Michael Sims jellicle at gmail.com
Mon Nov 21 23:18:21 EST 2005


While the RFC's are all well and good, the real reason for not deleting 
items from your database via a simple hyperlink click is that sooner or 
later, one of your users is going to install a Firefox extension that 
promises to speed up web-browsing by pre-caching everything.  They're 
going to visit your page with that extension installed, and the Firefox 
extension is going to delete their whole database by auto-loading all the 
page links.  And who are they going to blame?  You.  Yes.  You can see it, 
can't you?  The client calling in apoplectic rage?  The sinking feeling in 
your stomach?

That's why you "make things happen" with POST instead of GET wherever 
possible...

Michael Sims



More information about the talk mailing list