Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- include connessione.php;
- session_start ();
- $user=$POST['id'];
- $pass=$POST['psw'];
- $istruzione="select idutente from utente where email=".$user." and pass=".$pass.";"
- $ris=mysql_query($istruzione);
- if ($riga=mysql_fetch_array($ris))
- {
- $id=$riga[0];
- $_session['login']="$id";
- }
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement