Project Description:
Requirements
1. Install Ruby, Python and Perl on my Linux server
2. Create a three web pages (CreateFile.rb, CreateFile.py and CreateFile.pl) that have three elements:
A. A Text box for the filename ("tbFilename")
B. A Text area for the file contets ("taFileContents")
C. A Submit button.
* Looks are unimportant.
3. In reponse to a post from the web page CreateFile.rb, CreateFile.py and CreatFile.pl:
A file must be created matching the name entered ("tbFilename"), with the contents as entered in the text area ("taFileContents")
- The file extension must be .rb for Ruby, .py for python, or .pl for perl
- If a file already exists, then overwrite it.
4. The file created must be located in a folder acessible over the web.
5. Create another three web pages (ReadFile.rb, ReadFile.py and ReadFile.pl) that have two elements
A. A Text box for the filename ("tbFilename")
B. A Submit button
* Looks are unimportant.
6. In response to a post from the web page ReadFile.rb , ReadFile.py or ReadFile.pl:
If a file exists matching the name entered ("tbFilename"), then return the contents of the file.
Proofing
1. I need a program written in Python, Ruby & Perl that says "Hello World" 10 times.
2. I need a program written in Python, Ruby & Perl that demonstrates that files cannot be written, read or deleted outside of
the web root.
Note:
I can provide a working example of the above system in either .NET or PHP, if this helps.