Welcome Guest, Not a member yet? Register   Sign In
Security Fix in the File Uploading Class
#3

[eluser]Sinclair[/eluser]
Thanks for the reply.

I have to change my code to detect the filename type. There are examples on how to detect the filename type before sendind the file to upload?

I have this solution:

Quote:# uploadedfile - uploadedfile is the reference we assigned in our HTML form. We will need this to tell the $_FILES array which file we want to play around with.
# $_FILES['uploadedfile']['name'] - name contains the original path of the user uploaded file.

There are other ways of doing this?

Best Regards,


Messages In This Thread
Security Fix in the File Uploading Class - by El Forum - 09-12-2010, 04:45 AM
Security Fix in the File Uploading Class - by El Forum - 09-12-2010, 10:48 AM
Security Fix in the File Uploading Class - by El Forum - 09-13-2010, 02:02 AM



Theme © iAndrew 2016 - Forum software by © MyBB