Need a Sample script to create contacts and sale order using PHP.

Need a Sample script to create contacts and sale order using PHP.

Hi,

As I am new  am just trying to add contacts and creating sale orders for that contacts using the API. Am new to this. It will be helpful if someone provides me the sample PHP + CURL code to work.

Thank you in advance.