Subj : need php help To : mark lewis From : August Abolins Date : Tue Nov 12 2019 07:50 pm On 2019 Nov 12 03:58:20, you wrote to All: AA> I type it in at the root site address: AA> http:// /what-time-changed-php.php AA> ..but this is coming up with a blank display. AA> What am I doing wrong? ml> invalid or no html? have you looked at the resulting page's ml> source in your browser? php can be executed directly. I don't need to call it within html. Meanwhile, after adjusting the script without the "if.." and thus forcing an output, I would get, the output: Last modified: December 31 1969 19:00:00. ..which is php-speak for "file not found". :( ml> also, for security reasons, you'd be better off to have ml> $filename contain only the file's name... put the path in ml> another one and do not output it at all... then connect the two ml> when needed... What do you mean "do not output it at all"? How would I see the result otherwise? I just want to produce a report of "last modified" dates of files in specific directories. And if that works, have the script email the output on a schedule. But the above is a first step. How would this would be a security risk? ..AA --- Mozilla/5.0 (Windows NT 6.1; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.9.1 * Origin: nntp://rbb.fidonet.fi - Lake Ylo - Finland (2:221/360) .