move file from one site to another (same physical server) - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23) +--- Thread: move file from one site to another (same physical server) (/showthread.php?tid=45865) |
move file from one site to another (same physical server) - El Forum - 10-09-2011 [eluser]Unknown[/eluser] Hi. I own a dedicated server where i have multiple domains to that server. i am building a multiple website front-end and multiple backend. the backend is hosted on a subdomain where it has access to all the mysql database where i can see all thing from the diffrent websites. but i have a problem now, the websites have a picture file upload where i can see the uploaded files in the backend, from there i can approve and deny the pictures. but how i can move the picture physical on the common website from backend. the backend is ex located at /var/www/vhosts/domain.tld/subdomains/backend and the front-end is ex located at /var/www/vhosts/domain.tld can i move the picture from ex /var/www/vhosts/domain.tld/assets/gallery/unapproved/filename.png to /var/www/vhosts/domain.tld/assets/gallery/approved/filename.png from the backend located at /var/www/vhosts/domain.tld/subdomains/backend |