Reply to Re: Resize does not function (with Flash uploader)

Re: Resize does not function (with Flash uploader) new!
by Ben Davenport, 16 years, 7 months ago
Sure thing, I am passing the image data from the flash uploader directly into the constructor as: $u = new upload($_FILES['Filedata']['tmp_name])

It would seem that would be the right way to go, however, any way I seem to pass the file it saves the file on my server with a .txt, i noticed in your it offers some protection against malicious code, etc.

If I rename the uploaded file with a jpg extension it works and all is well with the world, any ideas?

CheersReply

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