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!
In my system, i want to use 3 server. 1 as a main server to install the system, and another 2 server (eg. Server A and Server B) is to store backup file and database. In my system (on main server), i want to make 1 function to get the count of files stored on each server(can get through database). For example, through main server, i can get how many files was stored on Server A and Server B. Anybody got any idea about how to do this pls?
since they're not on the same server, you're going to have to use ftp or ssh or the like to get a count of the files on the "remote" servers' file systems...
How hard is is to do a websearch on "php ftp" or "php ssh"?
Anoter option is to install NFS or SMB. This way you can mount the drives as if they were part of your local filesystem. More info available via your favorite websearch engine.