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

[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
Code:
$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
Code:
C:/xampp/htdocs/app_name/
#2

[eluser]Aken[/eluser]
Yes, as long as it's on the same server and the folder has write permissions, you can put it anywhere you want.
#3

[eluser]Mario "St.Peter" Valentino[/eluser]
is will be this ?
Code:
//this where app name folder
C:/xampp/htdocs/my_apps/

//this where i save picture
C:/picture_destination/

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

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

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




Theme © iAndrew 2016 - Forum software by © MyBB