List/Grid Tag Archives: file

Force download using PHP

Force download using PHP

A force-download script can give you more control over a file download than you would have providing a direct link. Using a force-download script, you can: Download image file Download… Read more »


How to check file is exist or not using php

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 $add=”images/119.jpg”; if(file_exists($add)) {… Read more »


how to fetch all files from folder using php

how to fetch all files from folder using php

PHP directory listing Some times we have to display the list of all files in a directory.We can do this with the help of php function readdir(). The code to… Read more »


© 2012 Sumit Bansal. All rights reserved. XHTML / CSS Valid.