anti-csrf
anti-csrf copied to clipboard
Prints the token request
- 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.
What do you mean it prints the token name, could you provide the code.