📄 readme.htm
字号:
<html>
<head>
<title>Snitz Forums 2000 Installation Guide and Readme</title>
<style>
body {background-color:#FFFFFF;font-family:Verdana, Arial, Helvetica;}
p {font-family:Verdana, Arial, Helvetica;font-size:13px;}
li {font-family:Verdana, Arial, Helvetica;font-size:13px;}
td {font-family:Verdana, Arial, Helvetica;font-size:13px;}
.header {font-family:Verdana, Arial, Helvetica;font-size:24px;}
.note {font-family:Verdana, Arial, Helvetica;font-size:13px;color:#FF6600;}
.team {font-family:Verdana, Arial, Helvetica;font-size:13px;}
</style>
</head>
<body>
<!--
'#################################################################################
'## Snitz Forums 2000 v3.4.05
'#################################################################################
'## Copyright (C) 2000-05 Michael Anderson, Pierre Gorissen,
'## Huw Reddick and Richard Kinser
'##
'## This program is free software; you can redistribute it and/or
'## modify it under the terms of the GNU General Public License
'## as published by the Free Software Foundation; either version 2
'## of the License, or (at your option) any later version.
'##
'## All copyright notices regarding Snitz Forums 2000
'## must remain intact in the scripts and in the outputted HTML
'## The "powered by" text/logo with a link back to
'## http://forum.snitz.com in the footer of the pages MUST
'## remain visible when the pages are viewed on the internet or intranet.
'##
'## This program is distributed in the hope that it will be useful,
'## but WITHOUT ANY WARRANTY; without even the implied warranty of
'## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
'## GNU General Public License for more details.
'##
'## You should have received a copy of the GNU General Public License
'## along with this program; if not, write to the Free Software
'## Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
'##
'## Support can be obtained from our support forums at:
'## http://forum.snitz.com
'##
'## Correspondence and Marketing Questions can be sent to:
'## manderson@snitz.com
'##
'#################################################################################
-->
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td width="19%"><img border="0" src="logo_snitz_forums_2000.gif" width="163" height="76" alt="Snitz Forums 2000 logo"></td>
<td width="81%" valign="top">
<p align="center" class="header">Snitz<sup><font size="-1">TM</font></sup> Forums 2000 Version 3.4.05<br>Installation Guide and Readme</p></td>
</tr>
<tr>
<td width="100%" colspan="2">
<hr size="1"><a name="toc"></a>
<h3>Table Of Contents</h3>
<ul>
<li><a href="#intro">Introduction</a></li>
<li><a href="#install">Installation Instructions</a></li>
<li><a href="#upgrade">Upgrade Instructions</a></li>
<li><a href="#FAQ">Installation FAQ</a></li>
<li><a href="#support">Getting Support</a></li>
<li><a href="#donations">Donations</a></li>
<li><a href="#copy">Copyright / Credits</a></li>
</ul>
</td>
</tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td width="100%">
<hr size="1"><a name="intro"></a>
<h3>Introduction</h3>
<p>Thank you for downloading Snitz Forums 2000! If you downloaded our
software from any site other than <a href="http://forum.snitz.com">http://forum.snitz.com</a>, please
check there for the latest official release.</p>
<p>This version again has many bug fixes, several new security related
features, and has been greatly optimized for use in heavy traffic situations.</p></td>
</tr>
<tr>
<td><a href="#top"><img src="icon_go_up.gif" alt="Go To Top Of Page" align="right" height="15" width="15" border="0"></a></td>
</tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td>
<hr size="1"><a name="install"></a>
<h3>Installation Instructions</h3>
<p class="note"><b>NOTE:</b> If you know that your server supports
ASP and what database you plan to use, skip to step 3.</p>
<ol>
<li><p>Confirm that your server supports ASP (Active Server Pages). This
should be on the list of features for your host. Windows
servers commonly support ASP files. Unix servers can support ASP files if they have the 3rd party
software called ChiliASP, installed.</p></li>
<li><p>Determine what type of database you plan to use. Snitz supports
three types of databases: Access, MS SQL, and MySQL. Which
database you will use depends on your server and how big you expect your
forum to get. The most common type of database used is Access. It
works nicely for smaller forums on Windows servers. Larger, more
active forums may wish to use one of the other database types if it is
supported by their server. If you are unsure which database
type you should use, then you should use Access.<br><br>
Unix servers only support MySQL databases.</p></li>
<li><p>Unzip the contents of the sf2k_v34_05.zip archive (except for the snitz_forums_2000.mdb file)
to a folder on your hard drive. (ex: c:\Snitz\)<br><br>
The snitz_forums_2000.mdb file is an Access 2000 database. If you plan to use
Access as your database, extract the snitz_forums_2000.mdb file out of the sf2k_v34_05.zip.</p></li>
<li><p>Open the config.asp file in your favorite text editor. <br>
<font color="#FF0033"><b>WARNING:</b> DO NOT USE FRONTPAGE TO DO THIS.</font><br>
<font color="#008000"><b>TIP:</b> A text editor that displays line numbers
can be helpful when modifying ASP files. We suggest a free text editor called
Araneae. You can use your favorite search engine to search for it.</font><br></p>
<p><b>Setting the Database Type:</b><br>
Remove the <font color="#FF0000"><b>'</b></font> from in front of
the "<font color="#003399">strDBType</font>"
variable that corresponds with the database type you want to use. The following table
shows some examples of how your strDBType would look like for each database.<br><br></p>
<table align="center" border="0" cellspacing="1" cellpadding="3" bgcolor="#000000" bordercolor="#111111">
<tr bgcolor="#000066">
<td width="33%" align="center"><font color="#FFFFFF"><b>ACCESS</b></font></td>
<td width="33%" align="center"><font color="#FFFFFF"><b>MS SQL</b></font></td>
<td width="33%" align="center"><font color="#FFFFFF"><b>MySQL</b></font></td>
</tr>
<tr bgcolor="#f5f5f5" valign="top">
<td align="left"><br>
<font color="#FF0000"><b>'</b></font>strDBType = "sqlserver"<br>
<font color="#003399">strDBType = "access"</font><br>
<font color="#FF0033"><b>'</b></font>strDBType = "mysql"<br></td>
<td align="left"><br>
<font color="#003399">strDBType = "sqlserver"</font><br>
<font color="#FF0033"><b>'</b></font>strDBType = "access"<br>
<font color="#FF0033"><b>'</b></font>strDBType = "mysql"<br></td>
<td align="left"><br>
<font color="#FF0000"><b>'</b></font>strDBType = "sqlserver"<br>
<font color="#FF0033"><b>'</b></font>strDBType = "access"<br>
<font color="#003399">strDBType = "mysql"</font><br></td>
</tr>
</table>
<br><br><p>
<b>Setting the Connection String:</b><br>
Next, you need to set up your connection string, so your forum will know
where to find your database. Below the Database Type (which you just set) is a list of
connection string options for each database type.<br>
The following table shows you how to set the connection string for each type of database that is available.</p>
<table border="0" cellspacing="1" cellpadding="3" bgcolor="#000000" bordercolor="#111111">
<tr bgcolor="slateblue">
<td bgcolor="#000066" width="33%" align="left"><font color="#FFFFFF"><b>Access Database</b></font></td>
</tr>
<tr bgcolor="#f5f5f5" valign="top">
<td>
<br><p><b>Change the database name:</b><br>
When using an Access database, all the data is stored in a single file, unlike the other databases.
So caution should be taken in where you store your Access database as it can be downloaded by anyone
if they know the path. <br>If you store your Access database in a folder outside of your www folder
(or wherever you keep the files for the rest of your site), then you should be safe because no one can download
your database if it is outside of your www folder.<br>If you store your
database in a cgi-bin folder, or in your www folder, then it is strongly recommended that you change the default
database name from <b>snitz_forums_2000.mdb</b> to a cryptic or not easy to guess name. The name should be a combination
of letters and numbers. That makes it hard for anyone to guess the name of your database.<br><br>
Example: <font color="#800080"><b>n92yr2fnis.mdb </b></font><br><br>
<br></p>
<p><b>Choosing the connection string to use:</b><br>
We provide 6 different connection strings you can choose from, to use to connect to your Access database.<br>
The first 3 connection strings are Access 2000 connection strings. It uses the latest Microsoft Jet drivers
to connect to the database. We recommend you use one of these to connect to your database.<br>
The other 3 connection strings are Access 97 connection strings. It uses the older version of Microsoft's
Access database drivers to connect to the database. Only use one of these connection strings if the Access 2000
one doesn't work.
<p class="note"><b>NOTE:</b> You do not need to have Microsoft Access on your computer to use the Access database.</p>
The following options explain how to use each connection string.</p>
<table border="0" cellpadding="0" cellspacing="0" bordercolor="#111111" width="100%" height="328">
<tr>
<td valign="top">
<b>Option 1: Using the physical path to the database</b><br>
<center>
<form>
<textarea cols="70" rows="3" name="ConnString1" wrap="off" readonly>
strConnString = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=c:\inetpub\dbroot\snitz_forums_2000.mdb" '## MS Access 2000
strConnString = "DRIVER={Microsoft Access Driver (*.mdb)}; DBQ=c:\inetpub\dbroot\snitz_forums_2000.mdb" '## MS Access 97
</textarea>
</form>
</center>
<p>Using one of the above connection strings require you to know the physical path to your database.
To help you find this physical path, we have provided a script called <b>whereami.asp</b>, which
you can find in the <b>tools.zip</b> file in your forum folder with your other forum files.<br>
If your database folder is accessible from the web, upload the <b>whereami.asp</b> file to the folder
where you are going to put your database.
From your browser, type in the location to your <b>whereami.asp</b> file:<br><br>
http://<yourServerName>/<databaseDirectoryName>/whereami.asp?dbname=<font color="#800080"><b><i>my_database</i></b></font>.mdb<br><br>
The <b>whereami.asp</b> will output the physical path to your database along with an example of
how your connection string would look like. Update your connection string with the physical
path to your database.<br><br>
Make sure to remove the <font color="#FF0000"><b>'</b></font> from the beginning of the connection
string you are going to use.</p><br></td>
</tr>
<tr>
<td valign="top">
<b>Option 2: Using the virtual path to database</b><br>
<center>
<form>
<textarea cols="70" rows="3" name="ConnString2" wrap="off" readonly>
strConnString = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" & Server.MapPath("/tools/snitz_forums_2000.mdb") '## MS Access 2000 using virtual path
strConnString = "DRIVER={Microsoft Access Driver (*.mdb)}; DBQ=" & Server.MapPath("/database/snitz_forums_2000.mdb") '## MS Access 97 using virtual path
</textarea>
</form>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -