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.
i am using this class to uploaded multiple images, working perfect on local server with php 5.4 but causing trouble on liver testing server. funny thing is when i just put the code in a simple folder it works fine. but when i integrate it in my project it gives error (HTTP Error 500). looks like its breaking on class instantiating(working smoothly on local and also works on live server when put in separate folder ) below is my code, appreciate any help
i am using this class to uploaded multiple images, working perfect on local server with php 5.4 but causing trouble on liver testing server. funny thing is when i just put the code in a simple folder it works fine. but when i integrate it in my project it gives error (HTTP Error 500). looks like its breaking on class instantiating(working smoothly on local and also works on live server when put in separate folder ) below is my code, appreciate any help
Thanks for response!!!
issue solved seems like mime_content_type was causing the trouble
fix = disabled mime detection methods in upload class init() function
cheers :)