PHP’s file_exists() will not work for me?

file_exists() needs to use a file path on the hard drive, not a URL. So you should have something more like: $thumb_name = $_SERVER[‘DOCUMENT_ROOT’] . ‘images/userphoto/1/2/2/59874a886a0356abc1_thumb9.jpg’; if(file_exists($thumb_name)) { some_code } http://us2.php.net/file_exists

VBA check if file exists

something like this best to use a workbook variable to provide further control (if needed) of the opened workbook updated to test that file name was an actual workbook – which also makes the initial check redundant, other than to message the user than the Textbox is blank Dim strFile As String Dim WB As … Read more