Populate picklist from directory and return file name



Hi all,

I have been searching for a week and am unable to find and example to
"Populate picklist from directory and return file name".

I have a php script that reads a log file and plots a graph. Right now,
the log name is hard coded. The logs are archived each day in the form
of say ddmmyy.log and I would like to put a drop down list in the
script that would allow my script to run off the "log" picked or
default to the current "hard coded" name.

I thought this would be a really common thing but I guess not.

I would be open to a javascript or asp script as long as I could "feed"
the file name to my php script.

Can anyone point me to a script like this??

Thanks a million!

Mike

.



Relevant Pages

  • PHP scripting errror -Why?
    ... Does anyone see what I am doing wrong with this simple script? ... >> So the PHP script IS running, and I am receiving an email... ... > be the HTML back to the browser. ... that the headercommand redirects the user back to the page they were ...
    (alt.php)
  • Re: Just what is "Ajax" ???
    ... It passes the information to a PHP script via an HTTP ... The Javascript receives the answer. ...
    (alt.html)
  • Re: [PHP] Re: how to detect type of image
    ... you detect if a script is HTML or PHP? ... to execute a file that starts with 'GIF89a' as if it were a binary ... manage to trick your PHP script into putting it somewhere that it will ... Every extra barrier you layer in there will slim down the number of ...
    (php.general)
  • Re: [PHP] pdo-oracle + nls_lang environment variable...
    ... I'm using pdo-oci on php-5.2.2 against an oracle-10g server, ... I make a simple php script that makes a select from a table. ... user running the apache daemon, I modified the apache init script to export ...
    (php.general)
  • Re: getting "chmod(): Operation not permitted" on attempted file changes
    ... I upload files thru this script, ... so only "nobody" may edit the file. ... sets the permissions appropriately, if you still need the PHP script ...
    (alt.php)