Search found 4 matches

by xDustin
Tue Sep 21, 2010 5:57 am
Forum: PHP - Code
Topic: HELP ME!
Replies: 6
Views: 104

Re: HELP ME!

That looked promising, but it isn't working. I've came up with a solution using the date() function, it works. <?php $last_modified = date("i", filemtime("../images/Temp.jpg")); //Minute point file was last modified $curr_time = date("i"); //Current Minute for server. $...
by xDustin
Tue Sep 21, 2010 12:57 am
Forum: PHP - Code
Topic: HELP ME!
Replies: 6
Views: 104

Re: HELP ME!

Wish it was that easy, but that doesn't work.. That is only if it's exactly 15 less. I'm wanting to do 15 or more/less I've tried $x == $y > 15 etc but doesn't work. What I'm exactly wanting to do is... <?PHP $last_modified = date("i", filemtime("../images/Temp.jpg")); //Minute p...
by xDustin
Mon Sep 20, 2010 5:35 am
Forum: PHP - Code
Topic: HELP ME!
Replies: 6
Views: 104

Re: HELP ME!

None? I'm just stumped on this part.

I'm wanting to check the "Last modified" time of a file on the server which I know how to,

but if the file hasn't been updated within "X" minutes/seconds whatever, I want it to notify me.

I know PHP, just this part is annoying me.
by xDustin
Mon Sep 20, 2010 4:07 am
Forum: PHP - Code
Topic: HELP ME!
Replies: 6
Views: 104

HELP ME!

Hey, I'm needing help. I'm stuck on something..

I'm wanting to do do this..


if $x is 15 less than $y then

I don't want it to be equal or less than because I've got something that updates every 5 seconds and if it doesn't update within 15 seconds it notifys me.