note 13760 added to function.file-exists.php

From: Date: Mon, 02 Jul 2001 07:23:14 +0000
Subject: note 13760 added to function.file-exists.php
Groups: php.notes 
Request: Send a blank email to php-notes+get-14855@lists.php.net to get a copy of this message
ok, file_exists does not traverse the include path ? i use this function in include and, apparently, it's work //in file functions.php function print_image ($image) { if (file_exists("${image}")) { $size = GetImageSize(${image}); return "<img src=\"${image}\" border=\"0\" $size[3]\">"; } else return "Error: file $image no found."; } //EOF functions.php enjoy http://www.php.net/manual/fr/function.file-exists.php

« previous php.notes (#14855) next »