3 // a simple service to run webkitpdf and return the PDF...
4 // note - this will only run on localhost by default...
7 // test: http://localhost/webkitpdf.php
9 // create a simple file:
11 ini_set('include_path',
12 dirname(__FILE__). ':' .
13 dirname(__FILE__).'/pear:' .
14 ini_get('include_path'));
16 require_once 'webkitpdf.php';
27 if (empty($_REQUEST['url'])) {
31 require_once 'System.php';