Closed Thread
Results 1 to 5 of 5

Thread: Auto update page, depending on files in DIR/folder

  1. #1
    Senior Member Anayet is an unknown quantity at this point Anayet's Avatar
    Join Date
    Apr 2001
    Posts
    176

    Question 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...

    Thanks

  2. #2
    Doctor Hexagon Canuckkev is just really niceCanuckkev is just really niceCanuckkev is just really niceCanuckkev is just really nice Canuckkev's Avatar
    Join Date
    Dec 2000
    Location
    Calgary, Canada
    Posts
    3,582
    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.
    How-to-spell-ridiculous.com
    pinkypoint.com - The hand gesture for the 21st century.

  3. #3
    Senior Member Anayet is an unknown quantity at this point Anayet's Avatar
    Join Date
    Apr 2001
    Posts
    176
    Are there scripts available, if not, what code needs to be in the scripts.
    I have access to both php & perl/cgi

    Thanks

  4. #4
    Senior Member iLLuSioN is an unknown quantity at this point
    Join Date
    Oct 2001
    Posts
    124
    Maybe you can use something from this site

  5. #5
    Senior Member Anayet is an unknown quantity at this point Anayet's Avatar
    Join Date
    Apr 2001
    Posts
    176
    Originally posted by iLLuSioN
    Maybe you can use something from this site

    Which script should i use
    Last edited by Anayet; December 4th, 2001 at 13:40.

Closed Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts