Reply to Re: mime checking v24

Re: mime checking v24 new!
by rr1024, 16 years, 9 months ago
1. How do you do code highlighting in this forum?

2. On this topic:
Note that the php file that I changed to jpg could not execute as is of course....so to all who are wondering it's still a safe class!!!

3. However, I believe, if I'm using the class correctly?, then there should be TWO checks for the mime type to validate the file before it get's moved to the public directory.
A) The current initial check which seems to be received from the browser and then a second check when the file reaches the phptemp directory....

4. Oh one other minor thing
$handle->file_overwrite  = TRUE;
When I tell it to overwrite the file it doesn't it keeps appending with _NN

Anyway...Love this class !!!Reply

Your reply

Name *
Email 
Title *
Text *
CAPTCHA image
Enter the code displayed on the image:
Click on the image to generate another one if it is hard to read it. The case is important