";
$FP =fopen ($wname, "w");
$ww =fputs ($fp, $writeurl);
if ($WW) {echo file was successfully written;} Else{echo write failed;}
Exit;}
$wname = "Php-bin/data.txt"; #由于是在页面调用, you must fill in the page and program relative path or absolute path!
$fa =fopen ($wname, "r+");
$wwww =fread ($FA, FileSize ($wname));
echo "
";
?>
To use the first to create a blank file named Data.txt placed in the same level of show.php directory, and then use the include call in the page!
SHOW.PHP?ACTION=CP and can be set up, of course, because there is no password protection, you can change the CP to other text!
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.