setAccessKey("ak"); // $client->setSecretKey("sk"); $params = array(); $params["ServiceId"] = "imagex service id"; //$params["UploadHost"] = "upload host"; $filePaths = array("image path 1"); $response = $client->uploadImages($params, $filePaths); print_r($response);