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


Everyauction 151

| Admin| DEMO | DEMO2 | Admin2 | DOWNLOAD | HOMEPAGE |

สิ่งที่คุณต้องรู้แล้วต้องมี

  1. จะต้องรู้ mail server ของคุณ ซึ่งคุณสามารถสอบถามได้ที่ ที่คุณเช่าโฮสอยู่นั่นเอง
  2. root directory ของคุณเอง ว่า path คือ อะไร ซึ่งสามารถสอบถามได้ที่ ที่คุณเช่าโฮสอยู่นั่นเอง

วิธีการติดตั้ง

  1. หลังจากที่คุณคลายไฟล์ zip ออกมาแล้ว จะมีไฟล์อยู่ทั้งหมดด้วยกัน 3 ไฟล์ คือ
    auction.pl
    readme.txt
    license.txt
  2. ให้คุณสร้าง Directory ชื่อ auction ไว้ที่ cgi-bin เพื่อที่จะอับไฟล์ auction.pl ไปไว้ และ directory ชื่อ auctiondata ไว้ที่ root ของเว็บไซต์ของคุณเช่นเดียวกันจากนั้น chmod เป็น 777 ครับ
  3. สิ่งที่คุณต้องแก้ไขในไฟล์ auction.pl นั้นก็คือ
    $config{'basepath'} = '/home/hahnfld/auctiondata/'; บรรทัดที่ 48
    คือ Directory ที่เก็บข้อมูลของ Auction
    $config{'adminpass'} = 'auction'; บรรทัดที่ 79
    สำหรับ ให้คุณ login เข้าไป คุณสามารถเปลี่ยนเป็นอะไรก็ได้
    mailprogram
    #$config{'mailprog'} = '/usr/lib/sendmail -t'; บรรทัดที่ 87 หรือ
    $config{'mailhost'} = 'localhost'; บรรทัดที่ 91

    คือ mail server ของคุณเองแต่อาจจะไม่ใช่ตัวนี้ หากเว็บของคุณนั้นไม่มี smtp ให้ใส่ # ที่หน้า บรรทัดที่ 91 และให้เอา # ที่บรรทัดที่ 87 ออก เพื่อที่จะให้ใช้ อีกตัว
    $config{'admin_address'} = 'nobody@yourhost.com'; บรรทัดที่ 95
    email ของคุณเอง
    $config{'scripturl'} = 'www.your.host.com'; บรรทัดที่ 105
    คือ directory ที่เก็บโปรแกรม auction.pl เช่น www.thaimisc.com/cgi-bin/auction/auction.pl
  4. ต้องการจะเพิ่ม กลุ่มหรือประเภทของการ ประมูล ก็สามารถทำได้ ให้คุณไปดูที่บรรทัดที่ 70 ของไฟล์ auction.pl จะเห็น ดังนี้
    %category = (
    computer => 'Computer Hardware and Software',
    elec => 'Consumer Electronics',
    other => 'Other Junk',

    );

    คำอธิบาย
    ตัวหนังสือสีแดงหนา คือ ชื่อ Directory ของกลุ่มหรือประเภทที่ต้องการให้เก็บไฟล์ จะต้องเป็นภาษาอังกฤษเท่านั้นนะครับ
    ตัวหนังสือสีน้ำเงินหนา คือ คำอธิบายต่าง ๆ และเป็นตัวลิงค์ของประเภทต่าง ๆ
    วิธีการเพิ่มกลุ่มลงไปใน ลิส ทำได้โดย

    %category = (
    computer => 'Computer Hardware and Software',
    Misc => 'จิปาถะ สิ่งต่าง ๆ ',
    elec => 'Consumer Electronics',
    other => 'Other Junk',

    );

    เพิ่มได้โดยเขียนไปเพิ่มแบบ ตัวหนังสือสีดำข้างต้นนะครับ เป็นไงบ้างครับ หวังว่าคงเป็นแนวทางในการไปใช้หรือแก้ไขได้นะครับ
  5. การเข้าถึงตัวโปรแกรม สามารถเข้าได้ที่ http://www.yourname.com/cgi-bin/auction/auction.pl yourneme นั้น คือชื่อเว็บไซต์ของคุณเองครับ
  6. สำหรับ Admin จะเข้าถึงโปรแกรมได้โดย http://www.yourname.com/cgi-bin/auction/auction.pl?action=admin

 

หากมีปัญหาอะไรสามารถติดต่อ สอบถามไปได้ที่ http://www.everysoft.com/ ครับ

ชื่อ *
email *
โปรแกรม : everyauction_151
 

 

 

 

 

 

 

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