How to check file is exist or not using php

We can check the file is exist or not in the folder usingĀ  file_exists function

Here is a simple code to check the presence of the file

echo "Yes file is there ";
echo "Sorry no file at $add ";

Bansal Sumit

To seek challenging roles and to achieve excellence in the field of Open Source Web Technology with a profound spirit of commitment and dedication.

You may also like...

Leave a Reply

Your email address will not be published. Required fields are marked *