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.
You should check if you have something meaningful in $_SERVER, $_REQUEST, etc... Also, check the log produced by the class.
I don't have time to try using jQuery for the upload, but your example seems quite too simple compared to the code samples given on these links.
I would suggest not using jQuery for the upload case (as in this case, jQuery complicates the code), or else trying out the code samples providing in the link above.Reply
I don't have time to try using jQuery for the upload, but your example seems quite too simple compared to the code samples given on these links.
I would suggest not using jQuery for the upload case (as in this case, jQuery complicates the code), or else trying out the code samples providing in the link above.