D
Don Althaus
I am writing to ask some advice on the cleanest, easiest way to allow
students to upload image files (.jpg) to a specific directory on my web
server. I have a cgi script processing quiz forms that works, but I am at a
loss as to how to have them upload image files. I have tried various
JavaScript scripts to no avail (probably because I don't know how to use
them). My web server is Linux based but does have FrontPage extensions
enabled. Here is what I would like to do, if possible-
1. Set up a form that will allow students to upload image files only to a
directory on the server that will be called "upldfile."
2. Have a way to check the file to make sure it is a .jpg file.
3. Have a way to make sure the file size is less that a certain maximum
specified- propably 100K.
4. Have a confoirmation page that says "thanks for uploading."
I have no problem specifying a browser if necessary, but some students in my
classes are still working with highly restricted computers. One student's
machine is an AMD K-5, 16 megs of ram running Win98se with IE 5.5- and this
student simply can't afford to purchase a different computer- single mom
with 2 kids attending classes full time and working full time- so any
solution will have to take a wide variety of equipment into consideration.
A little background-
The school I teach at is in the process of investigating various ways to
move classes into total internet presentation or to provide web enhancement.
Although this has not hit my program yet, I feel it is coming in the near
future and to be ready is better than having to scramble. We have Blackboard
and that works okay, but by the report of a number of students who are
tasking Blackboard based classes, the system is not working well. Often it
is unavailable, etc. I would suspect this is not a problem with Blackboard
but with our system. In this case, I feel strongly that any system I can
develop not using the school's system is an advantage.
Any help or guidance would be greatly appreciated. I am using FrontPage
2002.
-Don Althaus
(e-mail address removed)
students to upload image files (.jpg) to a specific directory on my web
server. I have a cgi script processing quiz forms that works, but I am at a
loss as to how to have them upload image files. I have tried various
JavaScript scripts to no avail (probably because I don't know how to use
them). My web server is Linux based but does have FrontPage extensions
enabled. Here is what I would like to do, if possible-
1. Set up a form that will allow students to upload image files only to a
directory on the server that will be called "upldfile."
2. Have a way to check the file to make sure it is a .jpg file.
3. Have a way to make sure the file size is less that a certain maximum
specified- propably 100K.
4. Have a confoirmation page that says "thanks for uploading."
I have no problem specifying a browser if necessary, but some students in my
classes are still working with highly restricted computers. One student's
machine is an AMD K-5, 16 megs of ram running Win98se with IE 5.5- and this
student simply can't afford to purchase a different computer- single mom
with 2 kids attending classes full time and working full time- so any
solution will have to take a wide variety of equipment into consideration.
A little background-
The school I teach at is in the process of investigating various ways to
move classes into total internet presentation or to provide web enhancement.
Although this has not hit my program yet, I feel it is coming in the near
future and to be ready is better than having to scramble. We have Blackboard
and that works okay, but by the report of a number of students who are
tasking Blackboard based classes, the system is not working well. Often it
is unavailable, etc. I would suspect this is not a problem with Blackboard
but with our system. In this case, I feel strongly that any system I can
develop not using the school's system is an advantage.
Any help or guidance would be greatly appreciated. I am using FrontPage
2002.
-Don Althaus
(e-mail address removed)