daily pastebin goal
1%
SHARE
TWEET

Untitled

a guest Nov 14th, 2018 129 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. //al iniciar sesión (iniciarSesion.php)
  2. $_SESSION["token"] = md5(uniqid(mt_rand(),transliterator_create_from_rules));
  3.  
  4. //en todos los forms excepto en el
  5.  
  6. //en la página donde se procesan los datos del form
  7. if($_POST["token"] == $_SESSION["token"]){...}
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top