How do I validate ajax delete with PHP
<p>I use ajax to POST a post id and current user id to a URL to delete this post, but i think it's not safe because anyone can post those parameters. How to make sure the user who send this Ajax POST is the post owner?</p>
