for example, i have 2 servers. one ofs ip 126.96.36.199 and the other ones 188.8.131.52.
i have upload directory on both servers. can i connect first's upload directory to second one.
this code works on both servers. but i want that, if i run this command on first server, 1.jpg must send to second servers upload directory. is this possible? i googled and found something about virtual directory, ln command. but its not solving my problem.
note: servers are litespeed.
Take a look at this PHP: FTP - Manual
thx for reply.
do i have to change the code? is there any easy way to do this? maybe server module
Using FTP is the easy way if you want a copy of the file on both servers.