CodeIgniter Forums
image upload to subdomain - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forum-20.html)
+--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forum-23.html)
+--- Thread: image upload to subdomain (/thread-10421.html)



image upload to subdomain - El Forum - 07-30-2008

[eluser]gullah[/eluser]
I have read the guide on how to upload images to a domain but I was wondering if it were possible to upload the image to a subdomain of mine on the same host.

Right now it would be uploading to /mnt/username/www.domain.com/.....
where I would like all of the images to go on a seperate physical subdomain located at /mnt/username/static.domain.com/folder/subfolder. Is this possible using just the image upload class or would I need to use the ftp class as well?

Thanks Drew


image upload to subdomain - El Forum - 07-31-2008

[eluser]gullah[/eluser]
sorry, going to have to bump this and try again.


image upload to subdomain - El Forum - 07-31-2008

[eluser]Yash[/eluser]
You are allowed to do that.

Just read this page of [url="http://ellislab.com/codeigniter/user-guide/libraries/ftp.html"]user guide[/url] completely


image upload to subdomain - El Forum - 08-01-2008

[eluser]gullah[/eluser]
I understand that I can ftp it to the subdomain what I'm asking is if I have to. If the image upload class can upload directly to that subdomain I'd much rather do that.