if (!(file_exists(http://example.com/images/thumbnail_1286954822.jpg))) {   
$filefound = '0';                         
}

why won't this work?

Edit
Report