| 21 |
* inlude_once("includes.inc"); which contains |
* inlude_once("includes.inc"); which contains |
| 22 |
* the following 2 lines |
* the following 2 lines |
| 23 |
*/ |
*/ |
| 24 |
//$phphtmllib = $_SERVER["DOCUMENT_ROOT"] . "/phphtmllib"; |
$phphtmllib = $_SERVER["DOCUMENT_ROOT"] . "/phphtmllib"; |
|
$phphtmllib = "/home/max/dev/netfrag.org/nfo/php/libs/com.newsblob.phphtmllib"; |
|
| 25 |
include_once("$phphtmllib/includes.inc"); |
include_once("$phphtmllib/includes.inc"); |
| 26 |
|
|
| 27 |
|
|
| 45 |
//if you want phphtmllib to render the |
//if you want phphtmllib to render the |
| 46 |
//output as viewable source code |
//output as viewable source code |
| 47 |
//then add ?debug=1 to the query string to this script |
//then add ?debug=1 to the query string to this script |
| 48 |
$page->set_text_debug( $_GET["debug"] ); |
if (isset($_GET['debug'])) { |
| 49 |
|
$page->set_text_debug( TRUE ); |
| 50 |
|
} |
| 51 |
|
|
| 52 |
|
|
| 53 |
|
|
| 54 |
//add the obligitory hello world |
//add the obligitory hello world |