1 |
jonen |
1.1 |
<!DOCTYPE HTML PUBLIC '-//W3C//DTD HTML 4.0 Transitional//EN' 'http://www.w3.org/TR/REC-html40/loose.dtd'> |
2 |
|
|
<!--NewPage--> |
3 |
|
|
<HTML> |
4 |
|
|
<HEAD> |
5 |
|
|
<!-- Generated by PhpDoc date: 'Thu, 20 Feb 2003 16:21:47 -0800' --> |
6 |
|
|
<TITLE></TITLE> |
7 |
|
|
<LINK REL ='stylesheet' TYPE='text/css' HREF='media/stylesheet.css' TITLE='Style'> |
8 |
|
|
</HEAD> |
9 |
|
|
<BODY style="background-color: #eeeeee; font-family: arial; font-size: .9em;"> |
10 |
|
|
<h1 align="center">INSTALL</h1> |
11 |
|
|
<pre> |
12 |
|
|
|
13 |
|
|
phpHtmlLib INSTALLATION |
14 |
|
|
|
15 |
|
|
|
16 |
|
|
Introduction |
17 |
|
|
============ |
18 |
|
|
|
19 |
|
|
I have tried to make the phpHtmlLib fairly easy to install |
20 |
|
|
and to use on anyone's current running site. There are a few assumptions |
21 |
|
|
I've made, but it shouldn't be a problem for 99% of the folks out there. I |
22 |
|
|
haven't tested the libs in a windows environment, as I don't have a M$ O.S. |
23 |
|
|
installed anywhere in my house. If you encounter any issues, please let me |
24 |
|
|
know. I welcome any and all feedback. |
25 |
|
|
|
26 |
|
|
Thanks and enjoy, |
27 |
|
|
Walt A. Boring IV |
28 |
|
|
waboring@buildabetterweb.com |
29 |
|
|
|
30 |
|
|
|
31 |
|
|
|
32 |
|
|
Installing the libs |
33 |
|
|
================================================ |
34 |
|
|
|
35 |
|
|
1. Overview for the impatient |
36 |
|
|
-------------------------- |
37 |
|
|
|
38 |
|
|
$ mv phphtmllib <your webdir DOCUMENT_ROOT> |
39 |
|
|
|
40 |
|
|
NOTE: in your script, set a global variable $phphtmllib to the |
41 |
|
|
location of your phphtml install. If you installed it into |
42 |
|
|
your DOCUMENT_ROOT, you would do |
43 |
|
|
<?php |
44 |
|
|
$phphtmllib = $_SERVER["DOCUMENT_ROOT"] . "/phphtmllib"; |
45 |
|
|
include_once("$phphtmllib/includes.inc"); |
46 |
|
|
?> |
47 |
|
|
|
48 |
|
|
2. Requirements |
49 |
|
|
------------ |
50 |
|
|
|
51 |
|
|
The following requirements exist for using phpHtmlLib : |
52 |
|
|
|
53 |
|
|
o PHP version 4.0.x |
54 |
|
|
|
55 |
|
|
Optional |
56 |
|
|
o One of phpHtmlLib's DataListSource Classes can work with |
57 |
|
|
PEAR and/or ADODB DB abstraction layer classes. PEAR should |
58 |
|
|
already be installed if you have a proper PHP install. You |
59 |
|
|
can get ADODB (much better IMHO) from |
60 |
|
|
http://php.weblogs.com/ADODB |
61 |
|
|
|
62 |
|
|
|
63 |
|
|
3. Installing |
64 |
|
|
---------- |
65 |
|
|
|
66 |
|
|
1. Copy the entire phphtmllib directory into your website's source |
67 |
|
|
tree. I typically install it in DOCUMENT_ROOT/phphtmllib. |
68 |
|
|
You don't have to have it installed in the document root, but that is |
69 |
|
|
where I normally install it. |
70 |
|
|
|
71 |
|
|
2. In each script that uses the libs, you MUST set a global variable |
72 |
|
|
$phphtmllib to the path of your phphtmllib dir in your web tree. |
73 |
|
|
So, if you installed phphtmllib in your DOCUMENT_ROOT, like I do, |
74 |
|
|
then you set $phphtmllib = $_SERVER["DOCUMENT_ROOT"] . "/phphtmllib" |
75 |
|
|
I usually do this at the top of my scripts, or have a include file |
76 |
|
|
of defines and such that sets this. |
77 |
|
|
|
78 |
|
|
After that you should be able to include the main includes file |
79 |
|
|
include_once("$phphtmllib/includes.inc"); to include all of the files |
80 |
|
|
in the lib, or you can include each file that you need individually |
81 |
|
|
to save include processing. |
82 |
|
|
|
83 |
|
|
9. Contacts |
84 |
|
|
-------- |
85 |
|
|
|
86 |
|
|
o All the latest updates and news will be posted on phpHtmlLib's project |
87 |
|
|
website at http://phphtmllib.newsblob.com |
88 |
|
|
|
89 |
|
|
o You can always contact me by sending an email to: Walt Boring |
90 |
|
|
waboring@buildabetterweb.com |
91 |
|
|
|
92 |
|
|
|
93 |
|
|
Thanks for trying phpHtmlLib. |
94 |
|
|
Walt Boring IV |
95 |
|
|
|
96 |
|
|
|
97 |
|
|
</pre> |
98 |
|
|
<div id="credit"> |
99 |
|
|
<hr> |
100 |
|
|
Documention generated on Thu, 20 Feb 2003 16:21:47 -0800 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.2.0rc1</a> |
101 |
|
|
</div> |
102 |
|
|
</body> |
103 |
|
|
</html> |