> > Afternoon all, I have a script that runs from the command line but now I > need it to from from the web, anyone know how to do this? > > All the script does is write files so output to the screen isn't important. > It needs to run from the web because there will be a form on a web page and > when it is clicked the script will run and then write whatever it needs to > write to the file. > > > Any ideas? > > Cheers, > > Graeme :) > > _________________________________________________________________ > Graeme, > You can fetch the values from web using CGI module, or cgilib.pl programs. ( you can find them on CPAN.org) Within the cgi-bin directory, writing to a file is not a problem.
Additionally you script will have to print some sort of HTTP header, either a content-type followed by some output, or a Location header to cause a redirect. For more check the excellent documentation for the CGI module, http://danconia.org -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>