![]() |
where i get the information about upload files? - 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: where i get the information about upload files? (/showthread.php?tid=9871) |
where i get the information about upload files? - El Forum - 07-10-2008 [eluser]Asinox[/eluser] Hi, im trying to upload file, and all is fine...but now i want to save the information about this file in my data base...but how ill get this information?, ¿how i get the name of file? type, etc? Thansk ![]() where i get the information about upload files? - El Forum - 07-11-2008 [eluser]Seppo[/eluser] Quote:$this->upload->data()http://ellislab.com/codeigniter/user-guide/libraries/file_uploading.html where i get the information about upload files? - El Forum - 07-11-2008 [eluser]Asinox[/eluser] Thanks... but how i pass this data to my function model to save data? Thanks where i get the information about upload files? - El Forum - 07-11-2008 [eluser]Seppo[/eluser] as a parameter? That depends on your code... I don't know what you are doing internally where i get the information about upload files? - El Forum - 07-11-2008 [eluser]Bramme[/eluser] [quote author="Asinox" date="1215807912"]Thanks... but how i pass this data to my function model to save data? Thanks[/quote]$this->upload->data() returns an array... So you could do: Code: $data = $this->upload->data(); where i get the information about upload files? - El Forum - 07-11-2008 [eluser]Asinox[/eluser] Thanks ![]() Gr8! ![]() |