prova così:

codice:
((time()-filemtime($file))/'3600')>$h

dove $h nel tuo caso è = "1"