Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function generate_session(){
- $_session =sha1(openssl_random_pseudo_bytes(-1).uniqid().openssl_random_pseudo_bytes(-360)).sha1(rand(777)) ;
- return $_session;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement