Temp File Upload - 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: Temp File Upload (/showthread.php?tid=23498) |
Temp File Upload - El Forum - 10-13-2009 [eluser]ChazUK[/eluser] Hi, I was just wondering if it's possible to use the File Uploading Class to store temporary files, and not actually save the files to the server. This is because I'm building a csv importer for a stats system, and I don't want the files to be stored. Thanks Temp File Upload - El Forum - 10-13-2009 [eluser]pistolPete[/eluser] Have a look at http://ellislab.com/forums/viewthread/107702/. Temp File Upload - El Forum - 10-13-2009 [eluser]ChazUK[/eluser] Thanks PistolPete, I'm currently using $_FILES directly, but I thought I might be able to benefit from using the Upload Class. I'm doing var_dump($this->upload) after the upload, but it's just returning empty. Temp File Upload - El Forum - 10-13-2009 [eluser]ChazUK[/eluser] Sorry I wasn't putting $this->upload->do_upload(); But I don't want to specify an upload directory, because I don't want to upload it! |