Re: [PHP] 9 line function logic problem

2004-09-26 Thread bagheera
Hi! Try to globalize the $include_path variable: function is_cache($get_file) { global $include_path; ... } bagheera Mag wrote: Hi, I am going crazy with this function please have a look at it and tell me what i am doing wrong. This is my setup: I have a file called one.html.cache in the directory

[PHP] 9 line function logic problem

2004-09-26 Thread Mag
Hi, I am going crazy with this function please have a look at it and tell me what i am doing wrong. This is my setup: I have a file called one.html.cache in the directory /cache/ in one.html.cache I have a time()+ 3600 number (eg: 1096224755) I need to know if the number in that file is still bi