This simple php script adds leads to your sugarCRM using API calls.