Flush database
| From: | wade | Date: | Fri, 27 Sep 2002 21:35:50 +0000 |
| Subject: | Flush database | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-22061@lists.php.net to get a copy of this message | ||
So how would one compare the timestamp?
how would you write
if timestamp is greater than timestamp + 1 hour
{
Ok to view page
run query to update that IP to new timestamp --> I think this will
be better than a delete statement
}
else
{
Can't view page
}
I know you will have to compare the timestamps. the one in the database
against the current hit.
How would one do this comparison?
--
Should you have any questions, comments or concerns, feel free to call
me at 318-338-2033.
Thank you for your time,
Wade Kelley, Design Engineer
================================================
Bayou Internet...(888) 30-BAYOU...http://www.bayou.com
Mississippi Internet...(800) MISSISSIPPI...http://www.mississippi.net
Vicksburg Online...(800) MISSISSIPPI...http://www.vicksburg.com
================================================