PHP API Examples

I am still refining this example... This may or may not work correctly yet. Feel free to update it. Examples are FAR and wide....