December 3rd, 2001, 20:08
Auto update page, depending on files in DIR/folder
Is it possible to have a page add basic links to itself once a file is added to the same directory?
For example, if theres a directory called files, and in that folder there was a page with some code in it called pageupdate (or something)
Could it be coded so that when a file is uploaded to the "files" directory, the pageupdate wold update its links, and add the new links automatically?
Is this possible?
If so, can anyone help me with what/how code etc etc - please...
December 3rd, 2001, 21:25
Yes, it is quite possible. All you would have to do is use the grep command in perl, not sure about php.
What would you be able to use, Perl, or PHP? I'm sure there is a very easy way to do it in both.
December 4th, 2001, 13:18
Are there scripts available, if not, what code needs to be in the scripts.
I have access to both php & perl/cgi
December 4th, 2001, 13:27
Maybe you can use something from this site
December 4th, 2001, 13:37
Last edited by Anayet; December 4th, 2001 at 13:40.