• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
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


Messages In This Thread
problem in uploading images on server - by El Forum - 03-21-2011, 12:57 AM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2019 MyBB Group.