Unix Installation:
STEP 1:
- Create a directory on your server under your cgi-bin called "adspro" or whatever you want...
- Create another directory on your server under the
adspro directory called "files" or whatever you want...
- Create another directory on your server under the
images directory called "adspro" or whatever you want...
/path to your cgi-bin/adspro
/path to your cgi-bin/adspro/files
/path to your images/adspro
CHMOD on the "adspro" directory to 755
CHMOD on the "files" directory to 777
Unix Server
Lets say your full path to your cgi-bin is /home/r/a/randall1/public_html/cgi-bin ..
- Create a folder under the cgi-bin called "adspro" or whatever you want...
- Now create another directory under the "adspro" directory called "files" or whatever you want...
- Now create another directory under the "images" directory called "adspro" or whatever you want...
Now you have three directories
/path to your cgi-bin/adspro
/path to your cgi-bin/adspro/files
/path to your images/adspro
CHMOD on the "adspro" directory to 755
CHMOD on the "files" directory to 777
STEP 2:
- Open the settings.pl file with a text editor like notepad or wordpad...
- Change the editable variable $filesdir to the path of the folder which has write permissions...
The rest of the script is configured from within a self setup script.
- You might also need to open each pl file and change the 1st line to the path to perl. #!/usr/bin/perl is usually the path but you might need
to change this to #!usr/sbin/perl or something like that
*** Make sure you put the
full path to the directory in the $file_dir that you created in step 1... If this path does not point to a write able directory, your script will not work... Make sure you CHMOD to 777 on this directory...***
STEP 3:
- Upload all the pl file to the /cgi-bin/adspro directory... Unix does not require the ntmail.pl file...
If you are on a UNIX server, CHMOD to 755 on all the pl files.
- Upload all the images from the zip file to the
http://www.yoursite.com/images/adspro directory.
STEP 4:
- Now just go to the URL of the admin.pl file and set up your options...
http://www.yoursite.com/cgi-bin/adspro/admin.pl
Segnalibri