Need a unique gift idea?
A Pastebin account makes a great Christmas gift
SHARE
TWEET

Untitled

a guest Nov 14th, 2018 108 Never
Upgrade to PRO!
ENDING IN00days00hours00mins00secs
 
  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