I'm using visio here (just a diagram making program), that I'm going to make each box/object clickable by adding a link to the description. But this is not the problem.
The problem is, the URL that I will be entering. I was thinking having a URL like: blah.com/description.php?box_one, PHP will see that it is calling for box_one so will call the textfile box_one.txt and echo the text from that textfile into description.php, if you know what I mean.
All these textfiles will be in one directory like ../blah/desc/ and PHP wont look for the file anywhere else, can this be done easy enough?
The only thing is that I cannot alter the PHP code say when there is a new diagram or new box to be linked. So the user adds the textfile into the dir and adds the *.php?box_fifty or whatever to the url and have PHP look for that, if ya get me.