You are here: how to verify image and not http error is returned to browser « PHP « IT news, forums, messages
how to verify image and not http error is returned to browser

Posted by Cindy Reeves on 10/04/92 11:10

Hi. I want to include an image on my home page that is dynamically created
from another website. The source code on a typical HTML page would be <img
src="http://www.othersite.com/returnedimage.aspx">

I don't trust their server will always be up/respond, so I want to use a PHP
function to determine whether a GIF has been returned (oppsed to an HTTP
error) before sending it to the browser. Any recommendations how to do this?

Thanks,
Cindy

 

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

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