CGI/Perl Guide | Learning Center | Forums | Advertise | Login
Site Search: in

  Main Index MAIN
Search Posts SEARCH
Who's Online WHO'S
Log in LOG

Home: Need a Custom or Prewritten Perl Program?: I need a program that...:



Sep 30, 2000, 7:29 AM

Post #1 of 1 (775 views)
cgi+perl+html Can't Post


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

<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
<input type="submit">
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

I hope someone could help me with this
I have tried but I do not get a solution.

Thanks a lot any help.




Search for (options) Powered by Gossamer Forum v.1.2.0

Web Applications & Managed Hosting Powered by Gossamer Threads
Visit our Mailing List Archives