Demo

 F.A.Q.

 
 

NT Instalation

     I have included a script that will give you some help getting the paths to your server, perl, sendmail and other environments... This script will just get the Environments and print them out for you so if you are unsure of what the full path to something is, you can run this script and it will tell you...

NT: upload the getenv.pl file to your cgi-bin and then just go the url of the script...
  http://www.yoursite.com/cgi-bin/getenv.pl


NT Installation: (Also see 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 a write able directory called "adsprofiles" 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/database/adsprofiles
  /path to your images/adspro
This is assuming your server admin gave you a directory called database under the cgi-bin, that has write permissions!

NT Server
- Create a directory under your cgi-bin called "adspro"...
Lets say your full path to your cgi-bin is c:/WebsAuto/EH328/HTML/cgi-bin ...  And now lets say your server admin gave you a directory under that cgi-bin called database for all your write able needs... The full path to your write able directory will be:
   c:/WebsAuto/EH328/HTML/cgi-bin/database ...
- Create a directory under the "database" directory called "adsprofiles"...
The directories you add will automatically have write permissions in NT if the directory you add them under already has write permissions... You cant use CHMOD like you can in UNIX so make sure that your server admin has provided you with a directory that has write permissions..
Now you have two directories:
  c:/WebsAuto/EH328/HTML/cgi-bin/adspro
  c:/WebsAuto/EH328/HTML/cgi-bin/database/adsprofiles


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...
   - $file_dir should point to the full path you created in step 1. (c:/path/database/adsprofiles) not (http://yoursite.com/database/adsprofiles).

The rest of the script is configured from within a self setup script.
*** 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... NT requires the FULL PATH to these directories!!!*** 

STEP 3:

- Upload all the pl file to the /cgi-bin/adspro directory...  NT needs to have the ntmail.pl file to send the mail so make sure you also upload this file. This uses a perl module called Sendmail.pm which must be installed on your server. Sendmail.pm is a commonly used module for sending mail on NT Servers
- 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
 



That's it... Your done... IF you experience any problems, make sure that dir your created is
write able... Also you can disable the file locking and see if this fixes any problems...

If you are running one of the scripts from MHF Media, you can add your site to my "Sponsors" sections for FREE...  The Sponsors are displayed on every page of my site...  Free traffic to you!!!  Click Here to Add Your Site

 

Any questions or comments? 
Make suggestions or requests to:
Chris Bruce
support@mhfmedia.com

 
  Related Topics
 Unix Docs