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