php if no imagee exists

Solutions on MaxInterview for php if no imagee exists by the best coders in the world

showing results for - "php if no imagee exists"
Terence
01 Aug 2017
1<?php
2$image_path_filename = '/path/images/donate.jpg';
3
4if (file_exists($image_path_filename)) {
5    echo "The file $image_path_filename exists";
6} else {
7    echo "The file $image_path_filename does not exist";
8}
9?>