I type it in at the root site address:
http:// <sitename>/what-time-changed-php.php
..but this is coming up with a blank display. :(
What am I doing wrong?
invalid or no html? have you looked at the resulting page's
source in your browser?
also, for security reasons, you'd be better off to have
$filename contain only the file's name... put the path in
another one and do not output it at all... then connect the two
when needed...
I type it in at the root site address:
http:// <sitename>/what-time-changed-php.php
..but this is coming up with a blank display.
What am I doing wrong?
invalid or no html? have you looked at the resulting page's
source in your browser?
php can be executed directly.
I don't need to call it within html.
also, for security reasons, you'd be better off to have
$filename contain only the file's name... put the path in
another one and do not output it at all... then connect the two
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?
Sysop: | Coz |
---|---|
Location: | Anoka, MN |
Users: | 2 |
Nodes: | 4 (0 / 4) |
Uptime: | 34:55:58 |
Calls: | 311 |
Files: | 5,671 |
Messages: | 226,607 |