How to get file name? |
[eluser]Unknown[/eluser]
I follow user guide at http://ellislab.com/codeigniter/user-gui...ading.html to create my upload file application. But I have a problem when I try to get the original file name. Code: ....... Thanks for help
[eluser]danmontgomery[/eluser]
You use $_FILES to access uploaded files, not $_POST http://php.net/manual/en/reserved.variables.files.php
[eluser]vitoco[/eluser]
also...you can't concatenate $_FILES['userfile'] to a string , cause $_FILES['userfile'] it's an array, get the appropriated index inside the array. |
Welcome Guest, Not a member yet? Register Sign In |