Delete:
Reference
if(file_exists("file.htm"))//Check if this file exists
if(file_exists("chat"))//Check if this folder exists
rename('index.php' ,'index'); //Rename index.php to index
fopen("name.php","a+"); //Create file
mkdir("boot","0777"); //Create folder And set the attribute to 777
rmdir ("include");//Delete the folder
unlink("index.php");//Delete the file
Query of the database:
Reference
$db = new db_query;
$db- >connect();
$db->query("DROP DATABASE $DbName;");//$dbname is the database name
Connection:
Reference
header("location:index.php");//Transfer Go to the web page
echo "Step 2: Please choose whether to delete all files [Chat Room]
";//Write the code
unset($tmp); //Clear the original cache
require("global.php ");//Cache
print <<< eot //Write the code
eot;
The above has introduced a collection of some commonly used PHP simple command codes in photoshop cs2 v9.0 green Chinese version, including the content of photoshop cs2 v9.0 green Chinese version. I hope it will be helpful to friends who are interested in PHP tutorials.