It's best if you use getimagesize to detect if local/URL file is image or not. On failure, FALSE is returned. This is probably what you are looking for.
確定! 回上一頁