Posting with PHP & CURL

Posting with PHP & CURL

Can anybody point me to some example code for submitting a new lead? I have found several incomplete examples, but there doesn't seem to be any standard PHP code for generating tickets and inserting records.

Thank you.