Jump to content

Uploading into different site directory


graham23s

Recommended Posts

Hi Guys,

 

Before i re-jig code i was wondering if this is possible, i have 2 ecommerce sites located on my server like:

 

 

/www/site1.com

/www/site2.com

 

Instead of going into the admin panel of each site and uploading products individually i was going to re-jig the  admin code in site1.com to upload products to both site1 and site2.

 

i know "../" goes up 1 directory but is it possible to not only go up a directory but move them into another sites folders altogether?

 

kind of like:

 

site1.com/admin/upload.php

 

can move files into:

 

site2.com/images/uploads/

 

thanks guys

 

Graham

 

hop that makes sense!

 

cheers guys

 

Graham

Link to comment
https://forums.phpfreaks.com/topic/213313-uploading-into-different-site-directory/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.