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
1 Posted Topic
Re: 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 … |
The End.