Does remote file(image) exist ?

From: Date: Sat, 18 Jan 2003 16:42:47 +0000
Subject: Does remote file(image) exist ?
Groups: php.general 
Request: Send a blank email to php-general+get-132106@lists.php.net to get a copy of this message
Hi Everyone, Sorry I have no example code at all for this at all, I know some people don't like that but I just do not know where to start so am asking for help. I have a system there users can put a picture of themselves by method of URL in a MySQL field, however many of this image URL's do not work as users type them in wrong. So what I wanted to do was find a way to test to see if the image can be accessed, then if not display a default image. Hope that makes sense, anyone already done something like this and want to share code :-) Stephen

« previous php.general (#132106) next »