- Using just a standard php file.
- Required the anticsrf.php file.
- Do not have/use twig so I tried calling it using
A. generateToken('form.php')
B. $csrf=$AntiCSRF->generateToken('form.php'); and added the $csrf to the form.
C. insertToken('form.php')
In any case it simply prints the function name.
A. generateToken('form.php')
B. $csrf=$AntiCSRF->generateToken('form.php'); and added the $csrf to the form.
C. insertToken('form.php')
In any case it simply prints the function name.