+<?php
+
+// a simple service to run webkitpdf and return the PDF...
+// note - this will only run on localhost by default...
+
+// needs pear in the
+// test: http://localhost/webkitpdf.php
+
+// create a simple file:
+/*
+ini_set('include_path',
+ dirname(__FILE__). ':' .
+ dirname(__FILE__).'/pear:' .
+ ini_get('include_path'));
+
+require_once 'webkitpdf.php';
+new WebkitPdf();
+*/
+
+
+
+class WebkitPdf
+{
+
+ function WebkitPdf()
+ {
+ if (empty($_REQUEST['url'])) {
+ $this->h404();
+ }
+
+ require_once 'System.php';
+ $xvfb =
+
+ }
+
+}
\ No newline at end of file