• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
uploading to different domain, same server

#1
[eluser]elmystica[/eluser]
Hi,

I'm using the CI file manipulation, upload and image_lib to upload photos.

The problem is that I have to upload to a different domain, within the same server.

The upload-mechanics are in cms.domain.com and the folder is at foo.domain.com/images.
Is there any way I can upload these images cross-domain?

#2
[eluser]Zack Kitzmiller[/eluser]
You don't 'Upload Cross-Domain'

If they are on the same box, you just change the path in the Upload Path.

for example:

Domain 1 Path = /home/user/foo/domains/bar.com/uploads
Domain 2 Path = /home/user/foo/domains/foobar.com/uploads

#3
[eluser]vitoco[/eluser]
i think there's a way to do that with jquery uploadify plugin.


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2021 MyBB Group.