Back to DFS's Workshop Page
Back to Agenda Page
This problem is part of the larger Creating a Picture Website project. It will get information from the piclist.txt file and generate a page with all of the thumbnails serving as links to the original large pictures.
Your script should, in the end, do the following.
It is best to write initial code which uses hardset values for the directory paths for the current directory (which starts with /home/) and the server path (which starts with the name of the machine and ~userid). Once you have that working, you can get information from the $_SERVER[] array to assemble the URL for displaying the pictures along with the picture directory path below the public_html directory.