Problem with getimagesize function
Got an interesting one here, and may need some help trying to find an alternative...
I have a web application which has been working until the last month. I suspect that a setting with my web host may have changed, but this is the process I am using.
User selects a picture to upload - PHP verifies that the file is a valid graphics file, and uploads it. PHP then check the size of the image to see if it falls under 200px wide. I use getimagesize to get the dimensions and then resize it if it needs resizing.
The problem now is that I am getting a failed to open stream: no such file or directory error. I have verified that the image is uploading and that it is in the directory referenced in the function.
Does anyone know anything that I can check, or if there are any alternative functions I can use to accomplish this?
I would appreciate your superior intellect on this one.
Thanks
Mike
Mike
EchoVue.com
__________________
Mike
EchoVue.com
|