Re: File handling using CGI

2006-07-27 Thread Ken Foskey
On Wed, 2006-07-26 at 23:57 +0530, I BioKid wrote: > One simple question - > I need to accept a file from the user and to store it as temp1. > then I need to give this file as an input of another program : > I wrote a script like this, but it is not working : Help ? > > #!/usr/bin/perl -w > use CG

RE: File handling using CGI

2006-07-27 Thread Charles K. Clarkson
I BioKid wrote: : I am able to do the second part, but am not able to get : the users file to a variable or array ? Read the "Files and I/O" section of the "perlintro" file in the perl documentation. HTH, Charles K. Clarkson -- Mobile Homes Specialist Free Market Advocate Web Programmer

Re: File handling using CGI

2006-07-26 Thread I BioKid
Dear Prabu and all, My purpose is simple, I have a web-form, that will accept a file, I need to use this file as an input of a program in my server, then I need to print the out put on the web page. I am able to do the second part, but am not able to get the users file to a variable or array ? I

Re: File handling using CGI

2006-07-26 Thread Prabu
I BioKid wrote: One simple question - I need to accept a file from the user and to store it as temp1. then I need to give this file as an input of another program : I wrote a script like this, but it is not working : Help ? #!/usr/bin/perl -w use CGI; my $q = new CGI; my $file = $q->param('file'