File downloading problem - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived General Discussion (https://forum.codeigniter.com/forumdisplay.php?fid=21) +--- Thread: File downloading problem (/showthread.php?tid=38769) |
File downloading problem - El Forum - 02-18-2011 [eluser]saad06[/eluser] Hi, I am having downloading problem.The files are uploading successfully but when i click on the link to download it gives me the error Message: file_get_contents(folder/somefile_pdf) [function.file-get-contents]: failed to open stream: No such file or directory. I don't know why the file name is replaced with "_". Here is my code Code: function dpaper($name){ File downloading problem - El Forum - 02-18-2011 [eluser]InsiteFX[/eluser] Try using the full path! InsiteFX |