MAKEPAGE SCRIPT
Developed by
John Durham 20 May 2003
CONFIGURING
YOUR SCRIPT:
Please
copy the script to the cgi-bin directory (or equivalent) on your server. Set
permissions so everyone may read and execute the script, but only the owner may
write to it (numeric value 755).
The
first line of your script is critical, since it must point to where Perl is
installed on the system. In my case, it contains:
#!/usr/bin/perl
If
this isn’t exactly right, the script won’t find Perl, and the script can’t run.
The correct path varies from server to server, so consult the
webmaster/provider for the right path information.
After
that, all the minor variables may be edited to your requirements:
|
$htmlurl |
The
web address of your script. |
|
$weburl |
Root
address for web files on your site |
|
$htmlfiles |
Where
your web pages are (a local server address) |
|
$textfiles |
Where
your text, list, csv and other data files are (a local server address) |
|
$quotations |
Number
of quotation files (adjust as you add new quotes) |
|
$quote |
root
name of quotation files (only change if you want to call them something else) |
|
$onlinepayments |
Link
to your payments gateway system |
|
$reffield |
Payments
reference text for the gateway system |
|
$cardnamefield |
Name
on credit card reference for gateway system |
|
$custfield |
Customer
name reference for gateway system |
|
$sendemail |
Enable
email sending by setting to 1, disable with 0 |
|
$mailprog |
Path
to email sending script |
|
$fromname |
Name
that should be on your emails as ‘From’ |
|
$fromemail |
The
address you are sending email from |
To find out about all the ways you
can use the makepage script, please click the following menu:
USING MAKEPAGE.CGI
TO PROCESS WEB FORMS
CREATING CUSTOM
WEB LINKS AUTOMATICALLY
CREATING CUSTOM
WEB LINKS AUTOMATICALLY WITH EXCEL