Welcome Guest, Not a member yet? Register   Sign In
move file from one site to another (same physical server)
#1

[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




Theme © iAndrew 2016 - Forum software by © MyBB