Welcome Guest, Not a member yet? Register   Sign In
upload a file
#1

[eluser]PHP Programmer[/eluser]
hi

I am trying to upload a file (any type) in userauth application. But I am unable to do so.

How can I do it? Please help.

Thanks
Anuj
#2

[eluser]Colin Williams[/eluser]
CI provides an Uploader class that you might want to look into.
#3

[eluser]Yash[/eluser]
Just try some code from [url="http://ellislab.com/codeigniter/user-guide/libraries/ftp.html"]user guide - FTP Class[/url]
#4

[eluser]Colin Williams[/eluser]
How would the FTP class work when the browser is connected over HTTP?
#5

[eluser]PHP Programmer[/eluser]
I have tried the Upload class of CI but in userauth application, but it doesn't work. I have checked my code thoroughly but it has no error. The uploading script runs fine if I run it independently. It doesn't work with the userauth application only.

If anyone has tried to do so please let me know with the code snippet.

Thanks




Theme © iAndrew 2016 - Forum software by © MyBB