http://localhost/Untitled-19.php
来源:互联网 发布:js 获取毫秒数 编辑:程序博客网 时间:2024/06/02 21:02
<?php
if (file_exists("count.txt"))
{
$ff=fopen("count.txt","r");
$c=fgets($ff);
$c++;
fclose($ff);
}
else
{
$c=1;
}
$ff=fopen("count.txt","w");
fputs($ff,$c);
fclose($ff);
?>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>计数器</title>
</head>
<body>
<center>欢迎光临本站,您是第<?php echo $c;?>位访问者</center>
</body>
</html>
- http://localhost/Untitled-19.php
- http://localhost/Untitled-3.php
- http://localhost/Untitled-4.php
- http://localhost/Untitled-5.php
- http://localhost/Untitled-5.php
- http://localhost/Untitled-6.php
- http://localhost/Untitled-7.php
- http://localhost/Untitled-8.php
- http://localhost/Untitled-12.php
- http://localhost/Untitled-13.php
- http://localhost/Untitled-14.php
- http://localhost/Untitled-16.php
- http://localhost/Untitled-17.php
- http://localhost/Untitled-18.php
- http://localhost/Untitled-21.php
- http://localhost/phpinfo.php
- http://localhost/test.php
- http://localhost/myphpsite/index.php
- c#中国农历时间类
- memset()函数使用说明
- 做什么都请保持职业道德
- 把现有窗口布局快速移植到新的工程中
- 在GridView使用HyperLinkField 属性的链接
- http://localhost/Untitled-19.php
- C#里如何读取和修改配置文件的值
- 用UL LI做表格
- Linux定时任务系统 Cron 入门
- 存储树状结构(上)─领接表方式
- vsflexgrid技巧大全
- Java 专业人士必备的书籍和网站列表
- 更改收藏夹夹的路径
- ADP