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

静态文件实现点击

WBOY
WBOYOriginal
2016-06-08 17:30:34918browse
<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

Statement:
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
Previous article:php生成静态页面程序Next article:ip地址查询