Pedro A Reche Gallardo wrote: > > Hi all, I am beginner with cgi scripting and I am trying to make a cgi > script that can upload a file, and work with it, or alternatively if > there no file to upload is specified, use the input pasted in the form > "text area". I now how to do the second one, but I am unable to deal > with both inputs at the same time. I am using the form tag > "multipart/form-data " and <input type=file>, but as I said I do not how > to tell to program to use one input or the other. > If someone could send me an example script dealing with this issue it > will be great.
your best bet is to read the docs for CGI.pm. you can do that by typing: perldoc CGI there is a section that deals with using upload() instead of param() to deal with file uploads. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]