managing remote log files

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!

Moderator: General Moderators

Post Reply
AlphaQuam
Forum Newbie
Posts: 7
Joined: Fri Feb 28, 2003 1:30 am

managing remote log files

Post by AlphaQuam »

I've got an implementation question... not sure how to go about doing this: My hosting provider stores logs on the server in a /logs folder just outside the /htdocs directory. These are rotated on a monthly basis. I want to write a PHP script that will download these logs to my own computer so I can run an analysis program on them. It will check the server daily and download only those logs which are new. Then, it runs the analysis program.

Problem is I can't just write a script on my local computer because then I can't access the /logs folder. Any suggestions? I have a few ideas but I'm not sure if they'll work...

Thanks!
Jon
Post Reply