Requirements: * xpat library to parse XML * CURL library to fetch pages (optional) Bomjpacket supports GET/POST queries, cookies, SSL. CURL enables this functionality. GET/POST queries and cookies have been tested, SSL has not. For example, Bomjpacket allows to login to Wikipedia that does not use SSL, but we were unable to try it out with GMail as it is SSL-based. Suppose you own a website and you would like to host this HTML->WML converter for your own purposes or for public use. Then copy all PHP files to your website and configure the main script. You will need to define the following variables: * $basedir="./results/"; This is the local directory to where the WML pages are written * $baseurl="http://mysite.com/"; This is the URL of your website * $scripturl = "http://mysite.com/browser.php"; This is where you installed this script There are a number of other variables that you might want to change: // If this URL has already been requested then return previous result $use_cache=1; // Use CURL library to fetch a page. It supports queries, cookies, SSL. $use_curl=1; // Repair web page, that is, add missing tags, add quotes to // attributes, etc. This will make it an XHTML page. $need_repair=1; // CURL library supports cookies. They are disabled for privacy reasons. $enable_cookies=0; The README file will provide more insight into the meaning of these variables.