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

[eluser]Sinclair[/eluser]
Hi,

I need to Replace the "File Uploading Class" with the security fix.

My doubt is what I need to change in my code... They have made changes only in the “file_name” configuration?

Best Regards,
#2

[eluser]Pascal Kriete[/eluser]
If you're not using file_name then you won't need to change anything in your own code, just replace the library.

Do test it though, just in case Smile .
#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,




Theme © iAndrew 2016 - Forum software by © MyBB