PHP Function for get a session using TASK API with IIS

Hello there! I've created a PHP function to help you create a session using TASK API for PHP with IIS. Here is the code: <?php function authenticationMSTR($server, $project, $user, $pass, $documentId, $dashboardMode) { $projectUrl = str_replace(" ","%20",$project); $projectTask = str_replace(" ","+",$project); $username = 'username'; $password = 'password'; $context = stream_context_create(array( 'http' => array( 'header' => "Authorization:... Continue Reading →

Blog at WordPress.com.

Up ↑

%d bloggers like this: