This code will list all of the files within a directory and give the user the option to delete the file.
Continue Reading
This code will list all of the files within a directory and give the user the option to delete the file.
This code will display all of the files within a specified directory with a filetype restriction.
Add the following code to the top of your page: And add this code to the bottom of your page:
Query from database Query from string
The code below will export every column name and value from your database into an excel document. Note: Delete the line spaces if you receive a parse error.
// array’s of banned IP addresses $bannedIP = array(“^10.999.00.*”, “^99.88.77.*”, “192.168.0.1”, “^66.77.*.*”); if(in_array($_SERVER[‘REMOTE_ADDR’],$bannedIP)) { // this is for exact matches of IP address in array header(“Location: http://www.domain.com”); exit(); } else…