if(strlen($client->client_id) == 0|| strlen($client->client_secret) == 0)
die('Please register a new oDesk application in '.'https://www.odesk.com/services/api/apply , and in the line '.$application_line.' set the client_id to Key and '.'client_secret with Secret. '.'The callback URL must be '.$client->redirect_uri);