Installing Arrow Trader
Installation is easy as 1-2-3.
After you've downloaded the correct package of Arrow Trader,
create a directory called at in your cgi-bin directory,
and upload the package to it.
With your favorite SSH client, make your way to the directory in which you've uploaded Arrow Trader
using the SSH commands written below, and unpack it.
To unpack, type gunzip at2_bsd.tar.gz followed by enter.
Then type tar -xvpf at2_bsd.tar followed by enter.
* This is an example for the FreeBSD package.
** See screenshot at bottom of this site for example.
Now the package is unpacked, run the installer by typing ./installer.cgi
followed by enter.
The installer will ask you for a password. You can use any password you like,
but don't make it longer than 150 characters please.
!! do not load installer.cgi in your browser.
!! delete installer.cgi once you're done with the installation.
*** See screenshot at bottom of this site for example.
Now go to http://www.yourdomain.com/cgi-bin/at/admin.cgi and log in!
Be sure to have cookies enabled, otherwise you can't log in.
screenshot of step 2: (click for large version)
screenshot of step 3: (click for large version)
|Basic Bash Commands
||(for ssh client)
||Display the full path to the the directory you are in
||Display the contents in the directory that you are in
|- cd ../
||Go one directory level up. (from /usr/www/domain/htdocs/ to /usr/www/domain/ for example)
|- cd mydirectory
||Go to another directory ("mydirectory" in this case)
If you need more help installing Arrow Trader, please ask on the support forum.
To use Arrow Trader, send all outgoing hits to out.cgi
The following syntax options are ready to use:
&l=mylinkname : when a link is clicked with a linkname, this linkname is stored, and can be viewed in your admin.
&s=75 : this means you're skimming traffic; the surfer has a chance of 25% to visit a trade.
&c=1 : this means click pattern #1 is enabled for this link. Read the Click Patterns section in the Admin for more info.
&u=http://www.myurl.com : This is the url you send the surfer to if he doesn't go a trade.
the &u=... part must be at the end of your link!
The & sign in URls is a standard delimiter.
To make sure Arrow Trader can handle & signs in the URL you're sending to,
you must place the URL at the end.
Place the following code in your index.shtml file
<!--#include virtual="/cgi-bin/at/in.cgi" -->
for php mainpages use
<?php virtual ("/cgi-bin/at/in.cgi"); ?>
Make sure your file ends with .shtml, so it supports SSI.
To see if SSI (server side includes) is enabled, open your main site,
and check if something like the following lines are on top
<script>document.cookie="atref=noref$$; path=/; expires=Fri, 20-Jun-03 08:40:46 GMT"</script>
<script>document.cookie="atexc=0,1,2,3,4,5,6,$$; path=/; expires=Fri, 20-Jun-03 08:40:46 GMT"</script>
If you still see the #include virtual= .. line, ask your host to enable SSI.
Whenever the script isn't counting hits, storing trades, or giving internal server error 500 errors,
make sure the permissions of the files are correct before asking on the forum.
In 99% of the cases, wrong permissions are the cause of the problem.
By default, the installer tries to set the right permissions.
|File or Directory
* In most cases the script will work with /log/* at 666 as well.