Home > php教程 > PHP源码 > 静态文件实现点击

静态文件实现点击

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
Release: 2016-06-08 17:30:34
Original
960 people have browsed it
<script>ec(2);</script>

静态文件实现点击

require_once("a/f.php");

$id =isset($_GET['id'])?$_GET['id']:'';

if(!is_numeric($id)){

 exit('unkown');

}else{

 $sql ="update filecontent set filebrower=filebrower+1 where id=$id";

 mysql_query($sql);

 $result =mysql_query("select id,filebrower from filecontent where id=$id");

 $rs  =mysql_fetch_array($result);
}
?>
document.write('人次');//注:这里必须以js形式出输,因我们在网页中是以

本站原创:  www.111cn.net

Related labels:
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Recommendations
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template