|
CosmicLinkTrade User Guide
© Copyright CosmicScripts.com (Lyle Hopkins) 2004. All rights
reserved. No part of this or any of the attached documents shall be reproduced/stored
in any way whatsoever without written permission from the Copyright holder.
The Copyright holder holds no responsibility for errors or omissions. No liability
is assumed in any way for damages resulting from the use of this document/program.
Sections in this files
1. Installation
instructions
2. Trouble shooting
3. BUG report
4. Getting rid of 'CosmicScripts.com' link
5. Using the script
1. Installation Instructions
All
files from the zip file should be uploaded into a sub-folder of your cgi-bin
(we recommend a folder named 'linktrade').
ALL FILES, BAR ANY PICTURE FILES, SHOULD BE UPLOADED IN ASCII.
The table
below shows what chmod (Unix) each file should be given File Chmod.
| Filename |
chmod |
| admingen.cgi |
755 |
| cosmic.pm |
755 |
| linktrade.cgi |
755 |
| top.txt |
755 |
| bottom.txt |
755 |
| linktrade.txt |
777 |
| adminpass.txt |
777 |
| sessions |
777 |
|
The table
below shows what file permissions (Win32) each file should be given.
| Filename |
Permissions |
| admingen.cgi |
read
write execute |
| cosmic.pm |
read
write execute |
| linktrade.cgi |
read
write execute |
| top.txt |
read
write execute |
| bottom.txt |
read
write execute |
| linktrade.txt |
read
write execute delete |
| adminpass.txt |
read
write execute delete |
| sessions |
read
write execute delete |
|
The following
files should be opened and modified. To start with, make sure the first
line of the file (if it's a script) points to the location of perl on
your server. This is usually:
#!usr/bin/perl
or #!usr/local/bin/perl. (Make sure you point to perl ver5+)
Filename
Adjust
linktrade.cgi Adjust user defined variables at top of file
top.txt Put in the HTML to go at the top of the page
bottom.txt Put in the HTML to go at the top of the page
linktadd.html Change form to point to your script
2. Trouble shooting
If SSI tags are not being displayed you probably need to rename the html
page to .shtml. Otherwise you can add the line:-
AddType text/x-server-parsed-html
.htm .html .shtm .shtml
to your apache 1.x .htaccess file.
Or add the line:-
AddOutputFilter INCLUDES .htm
.html
to your apache 2.x .htaccess file.
If you have
any other problems running this script then please check that you have
followed the installation to the word. If problems persist then check
the FAQ at:
http://www.cosmicscripts.com/faq.shtml
If that's no help then post a message on the help board at the same address
and you should get a reply.
3. BUG report
If
you find any bugs, glitches or problems then please contact me at:
bugs@cosmicscripts.com
with the subject "CosmicLinkTrader bug report".
4. Getting rid of 'CosmicScripts.com' link
On some of the scripts you may find a small link back to CosmicScripts.com
generated at the bottom of the page. Removing this will infringe the copyright
and cause you to be sued. So don't try it! If you do want to loose the
link then it costs $10 per script. You will then receive an amended script
without the link back. Go to:
http://www.cosmicscripts.com/amended
5. Using this script
This script runs by itself, just link to linktrade.cgi?want=showlinks
to display the links and linktadd.html so people can add their links.
If you want to display the links in a normal HTML page you'll need to
use SSI tags calling linktrade.cgi?want=ssilinks, such as:-
<!--#include virtual="/cgi-bin/linktrade.cgi?want=ssilinks"
-->
An example is included in ssilinks.shtml.
To use the scripts admin capabilities run linktrade.cgi?want=admin from
your browser. From there you will be able to remove links and check links
if they still have your return link. For this you will need to first run
admingen.cgi to generate your admin login.
Link Trade powered by CosmicScripts.com
free
cgi scripts from CosmicScripts.com
cgi scripts from CosmicPerl.com
|