Forum Moderators: open
On one of my domains I have multiple directories each with a hundred pages in them and one index file. Each index file has a button "next hundred" and "previous hundred". Does anyone know a piece of HTML that I can use as a link that when clicked it automaticly links you to the index file in the next or previous directory? I'm trying to cut some corners here because pretty soon I'm gonna have to do thousands of files and directories and I dont want to have to link them all by hand. My aim is to use a template for my index files using this script to let people nvaigate forward or backwards.
This simple script would read in the entire directory structure, figure out what page you are currently on, and determine the link to the previous or next directory. As you add directories, it would adjust accordingly.
The down side would be you would have to insert a php include or SSI include into all pages.
Or you could use frames <EEK>