// Background Program Sign. php Source code As follows:
<? Require ("../opendata. php");?>
<?
If ($ action = "sign ")
{
If ($ say = "" | $ Title = "" | $ url = "" | $ size = "")
{
Header ("Location:.../message. php? Message = Incomplete Information & redirect = download/download. php? Page = 0% 26 action = publish ");
Break;
} $ Say = htmlspecialchars ($ say );
$ Title = htmlspecialchars ($ title );
$ Say = str_replace ("", "& nbsp", $ say );
$ Say = nl2br ($ say );
$ Now_time = getdate ();
$ TTime = $ now_time ["year"]. "-". $ now_time ["mon"]. "-". $ now_time ["mday"]. "". $ now_time ["hours"]. ":". $ now_time ["Minutes"]. ":". $ now_time ["seconds"];
$ STR = "insert into download (title, say, click, tTime, URL, size, type) values ('". $ title. "','". $ say. "', 0 ,'#". $ tTime. "#','". $ URL. "','". $ size. "',". $ type. ")";
Mysql_query ($ STR, $ CN );
Header ("Location: Download. php? Page = 0 & Action = show ");
}
If ($ action = "Download ")
{
Mysql_query ("Update download set click = click + 1 where id =". $ id, $ CN );
?>
<?
Header ("Content-Type: text/html ");
If (header ("Location: $ URL "))
Echo "error ";
?>
<HTML>
<P align = "center"> <a href = "<? = $ URL?> "> If the download window does not pop up in your browser, click here </a> </P>
close the window
{< br> mail ("khj99@163.net", "this link has a problem, please correct", "id = $ ID; program name = $ title; Category = $ type "," From: khj99@163.netnReply-to: khj99@163.netn ");
header (" Location: download. PHP? Action = show & type = $ type ");
}< BR >?>