problem in uploading images on server - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23) +--- Thread: problem in uploading images on server (/showthread.php?tid=39787) |
problem in uploading images on server - El Forum - 03-21-2011 [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) the above code will work on local server, but it wont work on live server. please help me .. thanks in advance |