Welcome Guest, Not a member yet? Register   Sign In
can i upload picture with destination folder outside CI instalation ?

[eluser]Mario "St.Peter" Valentino[/eluser]
i wanna ask can i upload picture but the folder destination upload is outside CI instalation.
usually folder destination in inside CI installation like this
$config['upload_path'] = './folder_destination';

can i declare upload path outside CI installation.
i use windows xp with xampp instalation
so path will be like this

Yes, as long as it's on the same server and the folder has write permissions, you can put it anywhere you want.

[eluser]Mario "St.Peter" Valentino[/eluser]
is will be this ?
//this where app name folder

//this where i save picture

so upload config in library will be like this
$config['upload_path'] = 'C:/picture_destination';

No. Your computer and XAMPP's web server are two different things. It needs to be something inside C:/xampp/htdocs/

[eluser]Mario "St.Peter" Valentino[/eluser]
oh okay thanks friend for helping me

Theme © iAndrew 2016 - Forum software by © MyBB