<?php # vim: ts=4:sw=4 include '../Pjf.class.php'; $your_path_here = realpath(dirname(__FILE__) . '/..'); $fb = new Pjf(true); $fb->setBasePath($your_path_here); # <pre> tags set so you can actually see the debug style output in the browser echo '<pre>'; echo $fb->getContent(); echo "\n\n" . $fb->getAbsolutePath('/test/index.php'); echo '</pre>';