Gold University of Minnesota M. Skip to main content.University of Minnesota. Home page.
 
 
 

What's inside.

Announcements

Assignments

Lecture Notes

Office Hours

Our Class

References

Software Tools

Syllabus

Bulletin Board

Check grades  

CSCI 4131 Home

 
 

Printer-friendly version

 

Assignments

AssignmentDue DateWeight
Assignment 1 January 29, Tuesday1%
Assignment 2 February 19, Tuesday1%
Inclass XML Assignment February 12, TuesdayNot to be graded
Inclass DTD Assignment February 12, Tuesday Not to be graded
Assignment 3 February 26, Tuesday6%
Assignment 4 March 25, Tuesday12%
Assignment 5 April 8, Tuesday14%
Assignment 6 April 15, Tuesday14%
Assignment 7 May 2, Friday14%

Due Dates

Programming assignments and homeworks are due at the beginning of class. Late work is not accepted without prior approval. Any assignment turned in after class will be considered late and will be subject to the usual penalties. Submitting all assignments is a necessary condition for passing this class. Assignment submitted late will be penalized 10% per day, including weekends and holidays.

Guidelines

  • All assignments will be graded using firefox.
  • All server-side assignments will be tested on Linux ITLabs machines.
  • If the TA cannot run your assignment, you will not receive credit, but will be given the option to demo your assignment. If you can demonstrate your assignment, full credit will be given.

Submission Guidelines

When emailing the assignment to the TA. The subject of the mail should be "CSci4131 Assignment [0-9]+". The "[0-9]+" is the assignment number.

Guides and Help

PHP setup in your ITlabs account.

PHP should be ready to run in your ITlabs account. This section will show you how to put up a simple test PHP page to ensure that you are doing this correctly.

Make sure you have a ".www" folder.

Your home directory will be something like "/home/it##/<username>" and your pwd will be set to that when you log in. Inside that folder will be a hidden folder called ".www". You won't see it with a standard ls command and will need to do an ls -a to show the hidden folders.

The ".www" folder will be where you will put all of the files you wish to be hosted on-line. You must make sure that all files placed here are readable by anyone and that all executable (CGI or PHP) are executable by anyone as well. The most simplistic way to do this is to type something like this.$ chmod 755 <filename>.

Navigating to this directory externally

In order to view your files as web resources, you will need to navigate to them with a web browser. If you open a browser and point it to http://www-users.itlabs.umn.edu/~<username> you should find yourself looking at the ".www" directory.

Create a test.php page

Now, we will create a test.php page to ensure that things are working well. I am going to assume you are SSHing into the ITlabs machine (or are working on the machine itself) and will continue this guide as if you were using "pico" (or it's clone "nano").

You'll have to create the PHP file. You can do that by moving into the ".www" folder and executing pico test.php in the prompt. This will open the editor and give you space to type. Add the following code.

<?php
	phpinfo();
?>

Now, press Ctrl+O to save and Ctrl+X to exit.

By default, pico may not save the file with the correct permissions, so to be sure, run chmod 755 test.php.

You should now be able to point to http://www-users.itlabs.umn.edu/~<username>/test.php to see the PHP page do its job.

 
The University of Minnesota is an equal opportunity educator and employer.
Internet Programming