Thanks! because the file in question is going to get pretty big.
I am creating a survey for people to vote on a band. But the owner (my boss) wants people to be able to vote every 24 hrs. So my next challange is to be able to see if the time is greater than or less than 24 hrs from the last time they voted. (assuming the same ip address has voted before)
This has stopped me in my tracks.... :0 wft?
How in the world am I gonna do that? the date is formatted to a string and a number...
here's the page:
http://www.liveaudiomag.com/survey.shtml
right now all it does is display the file that I append to. I'm in the process of searching for ip and replacing line if found and greater than 24 hours ago. But wft? How am I going to be able to tell if they voted greater than 24 hours ago?
any help is greatly appreciated!!