uploading to different domain, same server - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23) +--- Thread: uploading to different domain, same server (/showthread.php?tid=30445) |
uploading to different domain, same server - El Forum - 05-14-2010 [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? uploading to different domain, same server - El Forum - 05-15-2010 [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 uploading to different domain, same server - El Forum - 05-17-2010 [eluser]vitoco[/eluser] i think there's a way to do that with jquery uploadify plugin. |