Programming Resources
For Fun and Learning
Charles Cusack
Computer Science
Hope College
main

Python
C++
JAVA

PHP


SQL
Assignments

Files


Description
Files contains a very simple php script that show you how you can work with the filesystem in PHP.

The script assumes that there is a directory called Stuff in the same directory as the script. It list all files in the directory, and includes a link to each. When the link is clicked, it includes the text from the file in the page.
It parses the file and replaces characaters like "&", ">", and $<" with HTML codes. (If it does not do this, very wierd things can happen.)