Home >Backend Development >PHP Tutorial >Made a directory display program_PHP tutorial
Now that the website is down, take a screenshot to see the main program show.php. I don’t want to format the code. Even I can’t understand it after formatting. You can set //Set the highest locked directory, which must end with a slash. It can be like this: $Lock_path="/home/"; $Lock_path="c:/"; $Lock_path="d:/mysql/"; $Lock_path="/"; //Set the protected suffix name and remove it if necessary The preceding double slash //$shield_file=array("gif","php","zip"); //Set the protected file name and remove the preceding double slash if necessary //$shield_folder=array("Picture ","Program","xltxlm","Movie"); //Set the corresponding website, do not end with a slash $web_site="http://XXX.XXX.com/XXXX"; //Set the path corresponding to the website , should end with a slash $web_root="/home/htdocs/XXXXX/";