show.php源代码:
if ($action=="cp"){
echo"
";exit;}
if ($action=="edit"){
$wname="data.txt";#Data saving file, attribute 666
$writeurl="
$t1$t2$t3< ;/a>
$t4$t5< br>
";
$fp=fopen($wname,"w");
$ww=fputs($fp,$writeurl);
if ($ww){echo file Writing successfully;}else{echo writing failed;}
exit;}
$wname="php-bin/data.txt";#Since it is called on the page, the page and program relative paths must be filled in here Or absolute path!
$fa=fopen($wname,"r+");
$wwww=fread($fa,filesize($wname));
echo "
< layer name="cmarquee02" width=&{marqueewidth}; height=&{marqueeheight};> |
| TR>
";
?>
When using it, first create a blank file named data.txt and place it in the same directory as show.php, and then add it to the page Just use include to call it!
show.php?action=cp and can be set. Of course, since there is no password protection, you can change cp to other text!
http://www.bkjia.com/PHPjc/316022.htmlwww.bkjia.comtruehttp: //www.bkjia.com/PHPjc/316022.htmlTechArticleshow.php source code: ? if ($action==cp){ echodiv align=center p scrolling menu information Input terminal/p form method=post action=show.php?action=edit p text one: input type=text name=t1 maxleng...
Statement:The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn