Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
100% Quality Score
Upvotes Received
1
Posts with Upvotes
1
Upvoting Members
1
Downvotes Received
0
Posts with Downvotes
0
Downvoting Members
0
0 Endorsements
Ranked #107.55K
~1K People Reached
Favorite Forums
Favorite Tags
php x 1

1 Posted Topic

Member Avatar for jrwin_19

I use the following code for this: [CODE]<?php $con = mysql_connect("yourhost","YourDB","YourPassword"); if (!$con) { die('Could not connect: ' . mysql_error()); } mysql_select_db("YourDB", $con); $result = mysql_query("SELECT * FROM YourDb WHERE UserID=$_COOKIE[UserID]"); if (!$result) { die('Login Timed Out'); } setcookie("UserID", $_COOKIE[UserID], time()+3600); while($row = mysql_fetch_array($result)) { $TimeStamp = $row['Timestamp']; } $t …

Member Avatar for crammo
0
1K

The End.