graham23s Posted September 13, 2010 Share Posted September 13, 2010 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 Quote Link to comment Share on other sites More sharing options...
Psycho Posted September 13, 2010 Share Posted September 13, 2010 Just create the products folder in a folder that is accessible to both sites: /products/ /www/site1.com /www/site2.com But, yes, you can have the upload copy the content to folders for both sites. Quote Link to comment Share on other sites More sharing options...
graham23s Posted September 13, 2010 Author Share Posted September 13, 2010 nice one, thanks mate Graham Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.