Management Program 3 for a program download. Background program sign. php source code is as follows: if ($ actionsign) {if ($ say | $ title | $ url | $ size) {header (location :.. message. php? Message information is incomplete quot;); break;} $ sayhtmls // The source code of the background program sign. php is as follows:
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 ("", "", $ 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 ";
?>
"> If the download window does not pop up in your browser, click here
Close Window
{
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 ");
}
?>
Else if ($ action = sign) {if ($ say = | $ title = | $ url = | $ size =) {header (location :.. /message. php? Message = incomplete information quot;); break;} $ say = htmls...