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