The last time we studied the guest.php file. The specific problems also require readers to practice their own in-depth, but also need some reference books to learn, if you do not have a little knowledge of PHP, I advise you do not want to look down, The author does not have much time and space to step into the purpose and meaning of a php file. Ok, let's do edit.php this file.
-----------
edit.php
?
if ($Submit)
{
if ($SavePassword = = "on")
{Setcookie ("Txtpassword", "$TxtPassword", Time () +30*24*3600);}
Else
{Setcookie ("Txtpassword");}
}
?>
<style type=text/css>
Td {font-size:10pt;}
TEXTAREA
{
Font-family: "The song Body";
font-size:10pt;
}
</style>
<meta http-equiv= "Content-language" content= "ZH-CN" >
<meta http-equiv= "Content-type" content= "text/html; charset=gb2312 ">
<title> Change Message </title>
?
Require ("sys.php");
function ReadValue ($tags, $tage)
{
Global $message, $long, $reply;
$StrStart =strlen (Strstr ($message, $tags))-strlen ($tags);//Remove the starting position of the string where the variable is marked.
$StrEnd =strlen (Strstr ($message, $tage));
$len = $StrStart-$StrEnd;
$StrStart = $long-$StrStart;//start character.
$StrString =substr ($message, $StrStart, $len);
return $StrString;
}
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.