You are here: getimagesize() not working « PHP Programming Language « IT news, forums, messages
getimagesize() not working

Posted by Karl Groves on 09/15/06 00:25

I am working on a personal project and having trouble with getimagesize()

I have an URL to a file I *know* for a fact exists.

The url in question is pulling longblob data from the database. This has
never been a problem for me before. Moreover, in the past, this has worked
for other similar scripts.

getimagesize works on every image file I have thrown at it, except these
which are coming from the database.

What's weird is that file(), stat(), lstat(), fopen() and so on all return
FALSE when given the URL (and/or path, where appropriate) of this image.

Even weirder: file_get_contents works fine on it.

Using getimagesize() on this file does NOT return any errors. Its like the
info is just empty.

I've been staring at this thing for hours and I'm just drawing a complete
blank.

Got any ideas?



--
Karl Groves
www.karlcore.com

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация