How do you handle image upload folder/path? |
[eluser]Dinko[/eluser]
So, i'm lil bit stucked with "how to do it". My image folder is located in codeigniter root folder: Quote:... wamp/www/codeigniter_instance/images I'm using SERVER[DOCUMENT_ROOT] to get path to images but problem is that i need to append "codeigniter_instance" becuase SERVER[DOCUMENT_ROOT] is just returning "... wamp/www/". So if i move all files inside "codeigniter_instance" (i don't want that my page goes www.mypage.com/codeigniter_instance/) to another server, path to image folder will be broken? Right? How do you do this?
|
Welcome Guest, Not a member yet? Register Sign In |