[PHP] Comparing file creating dates...

2008-03-22 Thread Ryan S
Hey all, Heres what i am trying to do: When someone sends a message from my site, i take their ip address and make a file with their ip address in a directory called hash-directory, the file looks like this: 169.34.534.243.txt I want to make sure they cant send too many messages because of

Re: [PHP] Comparing file creating dates...

2008-03-22 Thread Jim Lucas
Ryan S wrote: Hey all, Heres what i am trying to do: When someone sends a message from my site, i take their ip address and make a file with their ip address in a directory called hash-directory, the file looks like this: 169.34.534.243.txt I want to make sure they cant send too many

Re: [PHP] Comparing file creating dates...

2008-03-22 Thread Al
you may need to use filemtime() and not filectime(); Jim Lucas wrote: Ryan S wrote: Hey all, Heres what i am trying to do: When someone sends a message from my site, i take their ip address and make a file with their ip address in a directory called hash-directory, the file looks like