
cbwery2
Deleted
Sep 30, 2000, 7:29 AM
Post #1 of 1
(435 views)
|
hi I am using Linux Red Hat 6.2 I want to do something like this: I have a list of files(mpg files) that are put on a directory each hour. I would like to display this list on a web page, so the person may select one and then a java applet will display the video. I do not have much idea of CGI, but I have seen the handling select fields or ****** <ul> <form action="colors2.cgi" method="POST"> <select name="color"> <option value="red"> Red <option value="green"> Green <option value="blue"> Blue <option value="gold"> Gold </select> <input type="submit"> </form> </ul> ***** but instead colors I would like to put the files names. and after the person has select one this file will be copied or moved to the directory whre the applet will display it. I guess you could create a perl-cgi script or program that inside a infinite cicle (while ) ,each 10 seconds chech the directoy (ls -l or something) and put the names of the files in the handling form. once the person hit the submit button, the file selectet copies or moves to some directory. I hope someone could help me with this I have tried but I do not get a solution. Thanks a lot any help. Carlos ------------------
|