class.upload.php is a powerful and mature PHP class to manage uploaded files, and manipulate images in many ways. The script is available under a GPL license.
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?
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?
Cheers
should be:
(beware of multiple uploads, check the FAQ if you upload several files at a time)
Also try to set no_script to false:
Do you use the 0.26RC1?