Welcome Guest, Not a member yet? Register   Sign In
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.




Theme © iAndrew 2016 - Forum software by © MyBB