Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php if(isset($_COOKIE['ID_my_site']))
- {
- $username = $_COOKIE['ID_my_site'];
- $check = mysql_query("select id from users where username = '$username' limit 1")or die(mysql_error());
- //$pass = $_COOKIE['Key_my_site'];
- //echo $check;
- $row = mysql_fetch_array($check);
- echo 'username should be: '.$row[0];
- }
- ?>
Add Comment
Please, Sign In to add comment