RE: Can any one tell me a better way to upload a file from the HTML form to a location in my home directorrt.

2006-04-07 Thread Moon, John
, April 06, 2006 5:45 AM To: beginners@perl.org Subject: Can any one tell me a better way to upload a file from the HTML form to a location in my home directorrt. I tried many ways, Though I am seeing the file. the SIZE IS 0. I tried out these ways First One = my $upload_file= $q

Re: Can any one tell me a better way to upload a file from the HTML form to a location in my home directorrt.

2006-04-06 Thread JupiterHost.Net
Anish Kumar K. wrote: I tried many ways, Though I am seeing the file. the SIZE IS 0. I tried out these ways use the upload() info in CGI.pm's POD, be sure to do it befpre any headers are output :) -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTEC

Re: Can any one tell me a better way to upload a file from the HTML form to a location in my home directorrt.

2006-04-06 Thread Dr.Ruud
Anish Kumar K. schreef: > I tried many ways, Though I am seeing the file. the SIZE IS 0. Maybe this helps: http://perlmeme.org/tutorials/cgi_upload.html -- Affijn, Ruud "Gewoon is een tijger." -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Can any one tell me a better way to upload a file from the HTML form to a location in my home directorrt.

2006-04-06 Thread Anish Kumar K.
I tried many ways, Though I am seeing the file. the SIZE IS 0. I tried out these ways First One = my $upload_file= $q->param('upload_file'); # This is the description file which is being uploaded if ($upload_file) { my $outfile="/home/anish/testing.doc"; open(OUTFILE,">$outf

RE: Better way to upload??

2003-07-08 Thread Dan Muey
dea, check the file size yourself before writing and doing the while on a humungousw file! Thanks for the idea! Dan > -rm- > - Original Message - > From: "Dan Muey" <[EMAIL PROTECTED]> > To: "Ramon Chavez" <[EMAIL PROTECTED]>; <

Fw: Better way to upload??

2003-07-08 Thread Ramon Chavez
--- From: "Dan Muey" <[EMAIL PROTECTED]> To: "Ramon Chavez" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Tuesday, July 08, 2003 2:14 PM Subject: RE: Better way to upload?? > Hi all. Howdy > > I need some advice on this. > > I'm w

RE: Better way to upload??

2003-07-08 Thread Dan Muey
> Hi all. Howdy > > I need some advice on this. > > I'm writing a script for uploading a file ($file). Saving it > as $file_path/$name > > The way I'm doing this right now is (after checking the file > extensión and assuring every character is only a letter or an > underscore): > > -My way

Better way to upload??

2003-07-08 Thread Ramon Chavez
Hi all. I need some advice on this. I'm writing a script for uploading a file ($file). Saving it as $file_path/$name The way I'm doing this right now is (after checking the file extensión and assuring every character is only a letter or an underscore): -My way---