The best message of the challenge of the source code (II)
Source: Internet
Author: User
post.php file
<?php
Require (' config.php ');
?>
<?php
$nikename = $arr _request[' nikename '];
if (strlen ($nikename) ==0)
{
echo "<center>";
echo "echo "Sorry, <font Color=red> said </font> must fill in!!! Please refill!<br> ";
echo "echo "free message book by <a href=http://little.oso.com.cn> Bear </a> provide technical support";
echo "</center>";
Exit;
if (! $result) {
Affy_error_exit (' SQL Insert Execution has failed. ');
}
Else
{
echo "<! DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 transitional//en" > ";
echo "<HTML><HEAD><TITLE> publish article </TITLE>";
echo "<meta content=" text/html; charset=gb2312 "http-equiv=content-type>";
echo "<meta http-equiv=" REFRESH "content=" 2; Url=display.php ">";
echo "echo "<ul> Thank you for your message, will automatically display the message content";
echo "<br>";
echo "<a href=display.php> If your browser does not automatically return to the Guest Book home page,?
Please click here to return. ";
echo "</a></ul>";
Exit
}
?>
index.html file
<center>
<title> Thank you for your message! </title>
<font Color=navy> First of all thank you for your message, every word of yours I will read CAREFULLY!!! </font>
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