You are here: Re: How do I get the image height width when generating image from PHP (getimagesize does seem to work) « PHP Programming Language « IT news, forums, messages
Re: How do I get the image height width when generating image from PHP (getimagesize does seem to work)

Posted by bizt on 03/22/07 01:56

> Your problem is this loads the file but does not execute the PHP code.
> To get the image size, you need a real image - not a PHP file that
> generates an image.

I see, that makes sense.

I have tried accessing it via HTTP and that seems to work. So:

$wh = getimagesize ("http://www.mydomain.com/images/showImage.php?
image_id=5");

That works and the width and height are calculated ... I may be able
to use that, will mess about with it in meantime. Cheers

 

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

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