hi friends
i am back again but this time something most required and wanted by every web site
that is a counter which is easy to use and most informative , plus with every new user
hitting ur web site u get a confirmation email , just to know that someone is seeing it now
ofcource u can upgrade this program to get visitor ipaddress and country .
to configure please read the "readme instructions" , advantage with this code
is u can plug it to any web site on the net ( javaservlet, jsp, asp , php , perl etc..) ,
if u have access to it , i wrote it in php but u can do the same in any langauge of ur chose
u are comfortable.
01) Step 1 : I assume that u have access to a webserver running php and mysql database
[please note: refer http://www.php.net to learn about php and http://www.mysql.com both FREE ,
FAST , POWERFULL and BEST in open source environment over 3 million sites on net i read somewhere ,
u can download it and install it easily ]
02) Step 2 : login to MYSQL Database
03) Step 3 : create a database named "counterdb"
14) Step 4 : Edit dbconnection.php file and Edit these lines
var $IPADD = "localhost";
//if running on ur pc use 'localhost' else 'ipaddress'
//ex (194.215.24.223)
var $USER = "databaseusername";
//database username
var $PASS = "*********";
//database password
var $DBASE = "counterdb";
//database name
04) Step 4 : create table named "mycount"
05) Step 5 : structure is as follows ::
CREATE TABLE mycount (
mycntin int(4) NOT NULL auto_increment,
mycnt int(4) DEFAULT '0' NOT NULL,
mytime varchar(20),
PRIMARY KEY (mycntin)
);
06) Step 6 : now make the index.html (home page or start page) file of ur site into frames ,
one of the frames will call this file
"http://www.yourphpmysqlservername.com/directoryname/top.php"
and other frame will call ur actual site
07) Step 7 : whenever user visits ur site the program "top.php" gets executed and
a)) it registers a hit
b)) it sends Emails to u (Administrator)
08) Step 8 : u can check ur email in ur inbox
09) Step 9 : view counter at "http://www.yourphpmysqlservername.com/directoryname/counter.php""
10) Step 10 : download source code from this zip file here or from
http://www.geocities.com/james_smith73/counter.zip
11) Step 11 : view its working on mysite
http://www.geocities.com/james_smith73/
by clicking on the link BEST COUNTER
A ( part3 ) Powerful Counter, Calendar and Email Admin Code for All Web Sites
没有合适的资源?快使用搜索试试~ 我知道了~
php教程
共768个文件
php:391个
gif:123个
htm:68个
需积分: 0 34 下载量 50 浏览量
2008-06-02
10:54:22
上传
评论
收藏 1.05MB RAR 举报
温馨提示
有关学习php基础的教程源代码,里面有十几个用于简单学习的php代码
资源推荐
资源详情
资源评论
收起资源包目录
php教程 (768个子文件)
index.php.bak 3KB
changepass.php.bak 2KB
nav.php.bak 1KB
temp.bak 41B
1.bmp 17KB
explorer.cfg 467B
ChangeLog 18KB
CHANGES 0B
httpd.conf 33KB
COPYING 49B
vote.css 8KB
webmail.css 3KB
webmail.css 3KB
webmail.css 3KB
style.css 3KB
style.css 3KB
index.css 2KB
explorer.css 1KB
stylesheet.css 1KB
styles.css 388B
stylesheet.css 234B
question.dat 210B
answer.dat 76B
Thumbs.db 101KB
Thumbs.db 36KB
Thumbs.db 32KB
Thumbs.db 26KB
Thumbs.db 21KB
Thumbs.db 18KB
Thumbs.db 16KB
Thumbs.db 13KB
Thumbs.db 13KB
Thumbs.db 11KB
Thumbs.db 11KB
Thumbs.db 11KB
Thumbs.db 10KB
Thumbs.db 3KB
光盘使用说明.DOC 48KB
0879304979.gif 12KB
020135358X.gif 8KB
3.gif 8KB
1884133193.gif 7KB
Logo_bookstore.gif 5KB
logo.gif 5KB
1.gif 3KB
icon_admin.gif 2KB
icon_reg.gif 2KB
icon_shop.gif 2KB
logo.gif 2KB
logo.gif 2KB
icon_home.gif 2KB
icon_sign.gif 2KB
critical.gif 2KB
ul.gif 1KB
ul.gif 1KB
ur.gif 1KB
ur.gif 1KB
save.gif 955B
recycle.gif 920B
icon_js.gif 919B
delete.gif 889B
smile.gif 612B
edit.gif 404B
add.gif 377B
filexfer.gif 365B
3stars.gif 244B
4stars.gif 240B
2stars.gif 238B
explorer.gif 234B
5stars.gif 232B
1stars.gif 230B
del.gif 228B
edit.gif 218B
xfer.gif 202B
disk.gif 197B
hddop.gif 191B
icon_pdf.gif 181B
icon_htm.gif 177B
icon_php.gif 177B
icon_gif.gif 172B
icon_wav.gif 163B
icon_inf.gif 162B
icon_dirlnk.gif 162B
icon_cls.gif 159B
icon_xml.gif 158B
icon_inc.gif 157B
icon_zip.gif 157B
icon_nodir.gif 157B
icon_dir.gif 153B
icon_txt.gif 152B
uback.gif 150B
icon_cmd.gif 150B
uback.gif 150B
paste.gif 145B
file.gif 145B
wlink.gif 142B
dr.gif 138B
dr.gif 138B
updir.gif 138B
dl.gif 138B
共 768 条
- 1
- 2
- 3
- 4
- 5
- 6
- 8
资源评论
liunuoke1
- 粉丝: 1
- 资源: 3
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功