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
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.