I have some problem using getimagesize()
. After uploading a file, the latter is put . But when I call getimagesize()
(or fopen
()), I get this error message
getimagesize(http://mysite.com/files/documents/file_upload.png) [function.getimagesize]: failed to open stream: HTTP request failed! HTTP/1.1 404
When I put this URL in the browser, the image displays normally.