Thaimisc.com : Perl
freepollHOMEFree Chat serverFree Guest BookFree Ecard ServerFree webboard
 
 
  Article
  Html It's Easy
ICQ Status
How2Use FTP
Protect Directory
More...
  Column
  Flash Learning
Perl Scripts
ToDay's Tip
It News
  Community
  Forum
Chatroom new
  etc.
  Guest Book
links
Contact Us
Advertising
FAQ
  MiscFree
  Free Guest Book new
Free Ecard Server new
Free webboard new
Free chat Server new
Free Perl Scripts
Perl Search
Webboard
Web Directory
Protect Directory
Multi Protect new



สมัครสมาชิก เพื่อรับข่าวสารทาง e-mail

 
| Forum | Perl Scripts | PHP Corner | Perl Search | IT News| Web Diectory | Contact Us | FAQ | Advertising |

Perl Scripts

Dc Count 98

| DEMO | DOWNLOAD | ADmin | HOME PAGE DcScripts |

เตรียมตัวก่อนที่จะใช้ DC Count98

  1. ตรวจดูว่า server ของคุณนั้นสามารถใช้ SSI ได้มั้ย หรือ สามารถใช้ shtml ได้หรือไม่
  2. หากคุณใช้ที่ hypermart ข้ามข้อ 1ได้เลยครับ ไม่ว่าจะเป็น html หรือ shtml ทาง hypermart ทำให้ใช้ SSI ได้ทั้งหมดครับ
  3. ตรวจสสอบ Directory ของคุณ หากใช้ที่ hypermart จะเป็น /data1/hypermart.net/user ซึ่งหากคุณใช้ server ที่อื่นเราไม่อาจจะรู้ได้ว่า directory นั้นเป็นอย่างไร ขอให้คุณสอบถามทาง admin นะครับ

- วิธีการติดตั้งโปรแกรม DC Count98

  1. ให้คุณคลายไฟลล์ dccount.zip ออกมา แล้วให้คุณแก้ไฟลล์ DCcount98.cgi ดังนี้
    บรรทัดที่ 69
    $cgidir = "/home/cgi-bin/DCCount98"; ตรงนี้ให้คุณแก้เป็น Directory ของคุณเอง
    บรรทัดที่ 73
    $mainurl = "http://207.153.208.204"; ให้คุณแก้เป็น url ของเวบคุณ

  2. จากนั้น ให้คุณสร้าง Directory ทางฝั่งของ server ชื่อ /DCCount98 ไว้ใน /cgi-bin

  3. จากนั้นให้คุณอับโหลดไฟลล์ทั้งหมดลงไปไว้ที่ /DCCount98 ที่คุณได้สร้างไว้ โดยทำการ chmod ไฟลล์ทั้งหมดดังนี้ *สามารถดูรายละเอียดการ chomd ได้ที่ FAQ
    1) DCCount98.cgi (755) - main script
    2) DCCount98.htmlt (644) - template file
    3) count.txt (666) - page counter
    4) blue.gif - 10 by 10 blue gif file used for bar graph

  4. จากนั้นให้คุณนำแทก <!--#exec cmd="perl Path_to_DCCount98.cgi"--> ตัวอย่างเช่น
    <!--#exec cmd="/data1/hypermart.net/thaimisc/cgi-bin/DCCount98/DCCount98.cgi"-->

 

 

Copyright 1999 Thailand Miscellaneous. Allrights reserved. webmaster@thaimisc.com