Reply to Re: Non0image files always get an additional extension of .txt

Re: Non0image files always get an additional extension of .txt new!
by colin, 10 years, 1 month ago
Check the log produced by the class. The txt extension is added if the file is thought to be dangerous. Check the MIME types detection on your server, and see in the logs why you get the txt extension added.

You can also use file_is_image to process your file differently if it is not an image.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