Photoshop CS5 official Chinese hack version download php generate static page

Source: Internet
Author: User
Tags fread
Copy CodeThe code is as follows:

function MakeDir ($mudir)//Create Directory
{
$file = "./$mudir";
@mkdir ($file, 0777);
}
function Writemod ($filemodname)//first create sub-plate file path
{
$FP =fopen ("showmod.shtml", "R");
$str =fread ($fp, FileSize ("showmod.shtml"));
Fclose ($FP);
$FP =fopen ($filemodname, "w");
Fwrite ($fp, $STR);
Fclose ($FP);
}
function Writeweb ($content, $web, $modfile)//Update the respective sub-pad file//$modfile is the sub-plate name
{
$FP =fopen ($modfile, "R");
$str =fread ($fp, FileSize ($modfile));
$str =str_replace ($content, $web, $STR);
Fclose ($FP);
$fp = fopen ($modfile, "w");
Fwrite ($fp, $STR);
Fclose ($FP);
}
$m = "00000";
MakeDir ($m);
$FF = $m. " /0001.shtml ";
if (!file_exists ($FF))
{
Writemod ($FF);
}
Else
{
echo "already exists";
}
$d = "{content6}"; Content that was updated
$DD = "";//What to update//What to update
@writeweb ($d, $DD, $FF);
?>

The above describes the Photoshop CS5 official Chinese cracked version of the download PHP generated static page, including the Photoshop CS5 the official Chinese version of the download of the content, I hope the PHP tutorial interested in a friend helpful.

  • Contact Us

    The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

    If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

    A Free Trial That Lets You Build Big!

    Start building with 50+ products and up to 12 months usage for Elastic Compute Service

    • Sales Support

      1 on 1 presale consultation

    • After-Sales Support

      24/7 Technical Support 6 Free Tickets per Quarter Faster Response

    • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.