How to delete records from DB using $_POST method |
[eluser]sdotsen[/eluser]
Of course they do, sorry let me back up a bit. This application has an authentication system and what not. I am checking to make sure the record is own by the user and they only see their record. I just want to avoid cross site attacks. Maybe I'm blowing things out of proportion but I can (and will) add a layer of JS to make them confirm the deletion. Remember, if I hit http://domain.com/location/delete/100, I'll be able to delete the record IF I own the record. |
Messages In This Thread |
How to delete records from DB using $_POST method - by El Forum - 01-26-2011, 08:27 AM
How to delete records from DB using $_POST method - by El Forum - 01-26-2011, 09:25 AM
How to delete records from DB using $_POST method - by El Forum - 01-26-2011, 09:29 AM
How to delete records from DB using $_POST method - by El Forum - 01-26-2011, 09:42 AM
How to delete records from DB using $_POST method - by El Forum - 01-26-2011, 09:44 AM
How to delete records from DB using $_POST method - by El Forum - 01-26-2011, 09:47 AM
How to delete records from DB using $_POST method - by El Forum - 01-26-2011, 09:48 AM
How to delete records from DB using $_POST method - by El Forum - 01-26-2011, 09:51 AM
How to delete records from DB using $_POST method - by El Forum - 01-26-2011, 10:00 AM
How to delete records from DB using $_POST method - by El Forum - 01-26-2011, 10:33 AM
|