PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
Thanks for the info, that almost works apart from the fact that it can't find the file
Output:
Warning: filesize(): Stat failed for etc-1.tar.gz (errno=2 - No such file or directory) in /opt/healthcheck/apache2/index.php on line 331
# LAST BACKUP FILES = etc-1.tar.gz
Warning: filesize(): Stat failed for healthcheck-1.tar.gz (errno=2 - No such file or directory) in /opt/healthcheck/apache2/index.php on line 331
# LAST BACKUP FILES = healthcheck-1.tar.gz
Warning: filesize(): Stat failed for srv-1.tar.gz (errno=2 - No such file or directory) in /opt/healthcheck/apache2/index.php on line 331
# LAST BACKUP FILES = srv-1.tar.gz
It does not seem to be taking the full PATH of the file that is specified in the "dir_to_array" and when I tried to add the PATH as specified in the "dir_to_array" it does not work!