Now, when you add form to page, add csrf_token input automaticly:
csrf_token
First, create a basic form
Second, when send to file.ahmed.php, add this line for check
file.ahmed.php
<?php validateCsrfToken(); ?>
If there any error in token, request will be stop.
Last updated 11 months ago