This is a documented php file designed to help you connect to Pownce with PHP
http://www.hack3r.com/pownce/pownce.phps