General Information for COP 3832
-
Exam Info
-
Assignments will be posted here
-
Submitting Homework Online from weasel, mongoose or
solix
-
Submitting
homework on-line via the Web
-
Assignment 1.
-
Due to the holiday on 1/17, I have changed the due date of the assignment
to 1/26.
-
Option 4 of the menu should display EVEN numbers above the average.
-
Do not use recursion for this program.
-
Read a character to pause.
-
Do not bother about centering the text, nor clearing the
screen.
-
Run an
example of the homework assignment.
-
In the assignment, 'print' means 'display on the screen'. Do not send any
program output to the printer.
-
Assignment 2
-
Assignment 3
-
To make simple indexing the default for directory listings, comment out
the FancyIndexing On directive in srm.conf.
-
The Options directive in srm.conf should be Options All
-
The Options directive in the <Directory> section for the document root
should be Options Indexes
-
I will discuss how to change icons on Monday. If you want to explore on your
own, check out the AddIcon directive.
-
I will discuss Fancy Indexing on Monday. If you want to explore on your own,
check out the IndexOptions directive.
-
In order for the server to execute scripts, like hello.cgi, they must
have world read and execute permission.
-
Assignment 4
-
Assignment 5
-
Making forms sticky
-
As I warned earlier in the semester, it is dangerous to use a Windows' word
processor to save scripts to the U: drive. Windows adds extra control characters
to each line that prevent the script from running. I have a script that will
remove the extra control characters. Replace 'your.script' with the
name of the script to modify. A script named newyour.script will be
created that will have the extra control characeters removed.
~downeyt/cs/public/bin/fixm.pl your.script
-
Assignment 6
-
If you add the name="picture" attribute to the image tag in your document,
then you can access the image as
-
document.images.picture
-
document.picture
-
If it is part of a form named myForm
document.myForm.picture
-
I may have put an incorrect reference on the board. When getting the value
of option number 1 in a selection list named color in a form named
myForm, use
document.myForm.color.options[1].value
-
To access the only link on your page, use the reference
document.links[0]
-
If you think that JavaScript is ignoring statements, then it probably is.
When javaScript encounters an error, it terminates the function at the point
of the error. All statements after the error will not be executed. To check
if you have any errors after you have tried some action on your pgae, type
javascript:
into the location window and press ENTER.
-
HTML Information
-
Server Information
-
Examples of Server options
-
Server Side Include (SSI) Information
-
Miscellaneous scripts
-
PERL Script Information.
-
There is a directory named scripts in my ~downeyt home directory.
You have access to it, just set up a ScriptAlias in your server to
/home/scsfac/downeyt/scripts/, or use my server to access it.
-
Here is a directory named
scripts-source
on my server. You may either view a script or execute it from this page.
-
This is a page with links to some
of the scripts-source scripts and their sources.
-
This is an information page for the
topics of cookies, server push, browers pull, and file uploads. This information
can all fit into one category: modifying the headers that the server and
browser send.
-
Some PERL info: split, join, and pattern
matching
-
CGI.pm
Information
-
JavaScript Information
-
General Stuff
-
Information related to accessing school resources
-
General Web Information
School Accounts
Getting a school account
As long as you are a registered student, you can have an account to use the
school's computers. This account is not needed to use the PCs in the computer
labs, but it is needed to long onto the computers with names: solix, serss1,
xlab1, servax, servms. The account that you get will give you access
to all of these computers.
To get the account, you must connect to the solix computer. When you
are prompted for a user name, type the single word (no spaces)
newstudent. You will then be asked some information like name and
student number. Then you will be given a user name and a password. Write
them down! Then you will be logged off the computer. You won't be able
to access the computers for another 24 hours, while your account is being
activated.
In the future, you will use your user name and password to log onto any of
the named computers.
Changing Passwords
Once you have a school account, it is good for many computers here at FIU.
You should change your password to something other than your student number.
Changing your password on solix
From the command prompt on serss1 and solix, issue the command
passwd
in order to change your password. You will be asked for three things:
-
Your current password
-
Your new password
-
Your new password, again
Back to top of page
Many people are having difficulty getting the <P align="right"> working.
The problem is with the header tags that start the paragraphs: Do not include
the header tags inside the paragraph. Do it this way
<h1>Heading</h1>
<P align="right">
Paragraph
</P>
This will get it working. The same applies for "left" and "center".
Back to top of page
Submitting Homework Online from mongoose or solix
I have created a script that you can call from school computers to upload
files to my directory. Execute the following from your directory on weasel,
mongoose or solix:
From weasel or mongoose:
~downeyt/cshome/public/webftp/webftp.pl
From solix:
~downeyt/public/webftp/webftp.pl
and follow the instructions.
Back to top of page