where i get the information about upload files? |
[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 ![]()
[eluser]Seppo[/eluser]
Quote:$this->upload->data()http://ellislab.com/codeigniter/user-gui...ading.html
[eluser]Asinox[/eluser]
Thanks... but how i pass this data to my function model to save data? Thanks
[eluser]Seppo[/eluser]
as a parameter? That depends on your code... I don't know what you are doing internally
[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();
|
Welcome Guest, Not a member yet? Register Sign In |