Welcome Guest, Not a member yet? Register   Sign In
problem in uploading images on server
#1

[eluser]Rahul gamit[/eluser]
My problem is,
I am uploading an image on server and when, downloading it it gives error like Parse error: syntax error, unexpected T_STRING in on /home/projectx/public_html/CodeIgniter/system/application/views/upload/images/logo_for_eepro.gif

for uploading an image i am using ckfinder with php version 5.2.6 , and i am uploading the images in the c:wamp/www/system/application/views/upload/images/


and to download this image i am using following code
Code:
foreach(get_filenames('C:/wamp/www/CodeIgniter/system/application/views/upload/images/') as $image_name)
    {
        $this->zip->add_data('content/CodeIgniter/system/application/views/upload/images/'.$image_name,$this->load->view('upload/images/'.$image_name,"",TRUE));
}
$this->zip->download('mysite.zip');

the above code will work on local server, but it wont work on live server.

please help me ..
thanks in advance




Theme © iAndrew 2016 - Forum software by © MyBB