<body> <a href="CourseListSample.php">Course List</a> <br/><br/> <?php require_once '../ScormEngineService.php'; require_once '../ServiceRequest.php'; require_once '../CourseData.php'; require_once 'config.php'; global $CFG; $ServiceUrl = $CFG->scormcloudurl; $AppId = $CFG->scormcloudappid; $SecretKey = $CFG->scormcloudsecretkey; $Origin = $CFG->scormcloudorigin; $ScormService = new ScormEngineService($ServiceUrl, $AppId, $SecretKey, $Origin); $courseService = $ScormService->getCourseService(); $dispatchService = $ScormService->getDispatchService(); //echo '<pre>'; // print_r ($attributes); // echo '</pre>'; echo '<form action="CreateDestinationSample.php" method="GET">'; ?> <h3>Create New Destination</h3> Name: <input type="text" name="destname" /><br/> Tags:<input type="text" name="desttags" /><br/> <input type="submit" name="submit" value="Submit" /> </form> <br/><br/> <?php echo '<form action="CreateDispatchSample.php" method="GET">'; ?>