Background program sign.php Source code is as follows:
if ($action = = "Sign")
{
if ($say = = "" | | $title = = "" | | $url = = "" | | $size = = "")
{
Header ("Location:.. /message.php?message= information Incomplete &redirect=download/download.php?page=0%26action=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 your browser does not pop up the download window, please click here
Close window
{
Mail ("Khj99@163.net", "the 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");
}
?>
http://www.bkjia.com/PHPjc/315279.html www.bkjia.com true http://www.bkjia.com/PHPjc/315279.html techarticle //Background program sign.php Source code is as follows:? require (.. /opendata.php);? ? if ($action ==sign) {if ($say ==| | $title ==| | $url ==| | $size = =) {Header (location:.. /message.php?message= information is not complete ...