mirror of
https://github.com/skipperbent/simple-php-router.git
synced 2026-07-11 22:22:16 +00:00
Update README.md
This commit is contained in:
@@ -714,7 +714,7 @@ You can change the key by overwriting the constant in your own CSRF-verifier cla
|
|||||||
|
|
||||||
**Example:**
|
**Example:**
|
||||||
|
|
||||||
The example below will post to the current url and add a hidden field with the name of `csrf_token`.
|
The example below will post to the current url with a hidden field "`csrf_token`".
|
||||||
|
|
||||||
```php
|
```php
|
||||||
<form method="post" action="<?= url(); ?>">
|
<form method="post" action="<?= url(); ?>">
|
||||||
|
|||||||
Reference in New Issue
Block a user