Академический Документы
Профессиональный Документы
Культура Документы
MySQL Version
README
Version 2.0
WebSite: http://www.done-right.net
Support: http://www.donerightscripts.com/cgi-bin/members/support.cgi?file=bidse
archengine
Any attempt to redistribute this code is strictly forbidden and may result in se
vere legal action.
Copyright 2002 Done-Right. All rights reserved.
If you are looking for a more detailed readme file, you can visit the support se
ction at:
http://www.donerightscripts.com/cgi-bin/members/support.cgi?file=bidsearchengine
Table of Contents
-----------------------------------------------------------------------------
1) Package
2) System Requirements
3a) Installation for Unix Servers
3b) Installation for NT Servers
4) Mod_Perl Installation
5) FastCGI Installation
6) Customization
7) Upgrading To Version 2.0
8) Technical Support
-----------------------------------------------------------------------------
1) Package
-----------------------------------------------------------------------------
After you have unzipped the file your script, you should get the following files
:
admin.cgi - admin script
addons.cgi - part of admin script
customize.cgi - part of admin script
excel.cgi - for mass uploads with excel spreadsheet
functions.cgi - basic functions
functions_mysql.cgi - mysql functions
functions_text.cgi - text functions
members.cgi - members admin
mysql.dump - used to setup mysql database
Readme.txt - this file
search.cgi - search script
settings.cgi - part of admin script
view.cgi - part of admin script
signup.cgi - member signup script
template/Web.cgi - module script
template/wordfilter.txt - filters out bad words
template/bulksubmission.zip - template for excel spreadsheet
template/[templates] - 29 template files in .txt format
LWP - LWP Parallel Module Folder
-----------------------------------------------------------------------------
2) System Requirements
-----------------------------------------------------------------------------
In order to run the script properly, your webserver should contain:
- Perl 5
- Libwww Module OR IO::Sockets Module
OPTIONAL:
- If you want to use MySQL, you will need the DBI Module.
If you do not have this, you will have to use the text database.
- If you are running NT, you will also need the libnet to send email.
- If you want to use the excel spreadsheet mass upload feature, you need the 'Sp
readsheet::ParseExcel' module.
-----------------------------------------------------------------------------
4) Mod_Perl Installation
-----------------------------------------------------------------------------
If your server supports mod_perl, you may choose to run the bid search script un
der mod_perl to make the searches
faster and use less CPU. To use mod_perl, please do the following:
1. Open the following files and enter in the direct data path to your bid searc
h directory in the variable "$path".
Ex. $path = "/www/root/website/cgi-bin/bidsearch/"; # With a slash at the en
d as shown
addons.cgi
admin.cgi
customize.cgi
excel.cgi
functions.cgi
functions_mysql.cgi
functions_text.cgi
members.cgi
search.cgi
settings.cgi
signup.cgi
view.cgi
2. Open the file search.cgi. Uncomment the #use lib line and fill in the "use
lib" path. This is the same
path used for the $path variable except there is no forward slash at the end
.
Ex. use lib "/www/root/website/cgi-bin/bidsearch"; # Without a slash at the
end as shown
3. Upload every file & directory in ASCII mode into your cgi-bin (preferably in
a folder called "bidsearch")
4. Run the admin.cgi script to setup your variables
-----------------------------------------------------------------------------
5) FastCGI Installation
-----------------------------------------------------------------------------
If your server supports FastCGI, you may choose to run the bid search script usi
ng FastCGI to make the searches
faster. To use fastcgi, please do the following:
1. Make sure FastCGI is installed on your server. If it is not, you can downloa
d the module from:
http://cpan.valueclick.com/modules/by-module/FCGI/FCGI-0.65.tar.gz
2. Open search.cgi and change the first line that points to perl to the location
of your fast cgi compiler.
Usually the default fast cgi compiler is located at: #!/usr/local/bin/perl
3. Open search.cgi and set the '$fastcgi' variable to 1.
Example: my $fastcgi = 1;
4. Run the search.cgi script to see if it works.
-----------------------------------------------------------------------------
6) Customization
-----------------------------------------------------------------------------
You can easily customize this script by doing the following:
1) In your admin area, click customize to change the look of the html pages and
the text in the email messages.
2) In your admin area, click configure variables where you can modify the certai
n variables and make the script
compatible with a 3rd part merchant to process orders.
3) In your admin area, click settings where you can do such things as set your d
efault options.
4) Use SSI commands to display parts of the script in your html pages. Just rem
ember that most servers only allow you
to use SSI commands within a .shtml file.
To display popular searches, use:
<!--#include virtual="search.cgi?tab=popular&ssi=1" -->
To display bidded listings for a certain term, use:
<!--#include virtual="search.cgi?tab=displaybids&perpage=10&keywords=keywords
here" -->
You can add the following fields in order not to display certain items:
&number=false
&url=false
&title=false
&descrip=false
&printurl=false
&source=false
&morelikethis=false
5) You can display the results in XML by adding the tag &xml=1 to your search UR
L.
Example: search.cgi?keywords=[keywords+here]&xml=1
-----------------------------------------------------------------------------
8) Technical Support
-----------------------------------------------------------------------------
If you are having any problems with your script, please visit the members suppor
t area located at:
http://www.donerightscripts.com/cgi-bin/members/support.cgi?file=bidsearchengine
-----------------------------------------------------------------------------