[ HyperMart ]Mail.com: Create your own e-mail address[ A Go2Net Network Site ][ HyperMart ]
[ Support ][ Home ][ Members ][ Web Tools ][ eCommerce ][ Directory ][ Support ]

Topics
Priority Members
Acct. Management
Site Builders
FTP
DNS
Site Enhancement
Perl, Java, cgi
Newsgroups

[ Email Tech Support ]

|
| [ CGI ]
|
Find Your Old Friends
Slate - Click Here!

Text Counter

Sumbitted by: Jordan Gemmill.
Visit his site:Resource Central


  1. Download Text Counter.

  2. Open counter.pl

  3. Change the first line to
    #!/usr/local/bin/perl

  4. Define The following variables

          $data_dir = "/data1/hypermart.net/
          USER_NAME_HERE/textcount/data/";
    @valid_uri = ('/');
  5. Change

    @invalid_uri = ('/');

    to

    # @invalid_uri = ('/');

  6. You may choose the options you would like, I suggest you leave Auto-Create 'On' unless you don't want anymore counters to be made.

  7. Log into your FTP

  8. Make a directory called

    textcount

  9. Inside that directory, make a directory called data. Chmod that directory 777.

  10. Upload :

    counter.pl   chmod 755
    

  11. How to call the script to your page

    <!--#exec cgi="/textcount/counter.pl"-->

  12. Having Problems?

    • Did you chmod your files?

    • Did you put the correct SSI on your page. Note: People using http://www.hypermart.net/username must change the SSI.

    • E-mail me if you still can't fix it. Please do not change the subject line or I might not be able to get back to you in a timely fashion.




-

HyperMart Home | Members | Web Tools | eCommerce | Directory | Support | Contact Us