Ok, this may sound weird, but I'm trying to make one of my scripts have a 3 day trial. The idea behind it is that it works for 3 days, and then it will display a message saying the trial is up. If the file b.inc is there, then the purchase should have been made, so they get unlimited use.
So far I have;
Thanks
So far I have;
Code:
if (!is_file("admin/b.inc") {
// something here to get the date of the file, and see how old it is...if over 3 days, or 72 hours, then show a message. This is where I'm stuck.. I tried using fileatime() and getdate() to compare the dates...but it didnt work right :(IF anyone could help me, it would be much appreciated :)
}
Thanks