Posted by Jon Slaughter on 04/24/07 22:43
Is there a way to get user input from a php script that doesn't have to do
with html? I would like to ask the user(me) to input a directory(preferably
in a gui way such as a folder selection dialog) to do some work with. Is
this possible when running the script directly on my comp(not off a
server(remote or local))?
The script is a management thing that I'd like to create to help generate
some html code. Essentially I want it to scan a dir(but don't want to hard
code it) and have it generate a list of links for the files in that
dir(which are images). Maybe even asking for a description for each.
Even if it was a little shell program to change the directory(sorta like
dos) would be much better than having to enter in the directory name by
hand.
Thanks,
Jon
Navigation:
[Reply to this message]
|