Re: Determine upload file type by Gunnar Hjalmarsson- June 20, 2008 Mimi Cafe wrote:> I need to write a cgi program to enable our users to upload files using the> web browser,Okay. As Owen mentioned, the module CGI::UploadEasy may be helpful.> but I am not sure how to figure out the type of file the user> wants to upload (e.g text or binary file). Can CGI.pm accomplish this> automaticallyIf you need that information before a file is uploaded, the answer is no. CGI.pm (and, consequently, CGI::UploadEasy) does provide MIME type based on the file...http://www.nntp.perl.org/group/perl.beginners.cgi/2008/06/msg13220.html Re: Determine upload file type by Beginner- June 20, 2008 On 20 Jun 2008 at 11:43, Mimi Cafe wrote:> I need to write a cgi program to enable our users to upload files using the> web browser, but I am not sure how to figure out the type of file the user> wants to upload (e.g text or binary file). Can CGI.pm accomplish this> automatically> > Any suggestions welcome.Have a look at this from the highly secretive CGI documentation :-)When a file is uploaded the browser usually sends along some information along with it in the format of...http://www.nntp.perl.org/group/perl.beginners.cgi/2008/06/msg13219.html Re: Determine upload file type by Owen- June 20, 2008 > I need to write a cgi program to enable our users to upload files using the> web browser, but I am not sure how to figure out the type of file theuser> wants to upload (e.g text or binary file). Can CGI.pm accomplish thisautomatically>> Any suggestions welcome.>> Mimi>I suggest you go to cpan and get CGI-UploadEasy-0.11 (or read about it)Owenhttp://www.nntp.perl.org/group/perl.beginners.cgi/2008/06/msg13218.html Determine upload file type by Mimi Cafe- June 20, 2008 I need to write a cgi program to enable our users to upload files using theweb browser, but I am not sure how to figure out the type of file the userwants to upload (e.g text or binary file). Can CGI.pm accomplish thisautomaticallyAny suggestions welcome.Mimihttp://www.nntp.perl.org/group/perl.beginners.cgi/2008/06/msg13217.html Re: Standard CGI module vs CGI::FastCGI::Simple by Sean Davis- June 17, 2008 On Tue, Jun 17, 2008 at 9:37 AM, Mimi Cafe <mimicafegooglemail.com> wrote:> Hi,>>> I will be developing a database backed CGI application and now looking into> CPAN modules to use. Now my idea is to find people who have experience using> the modules I am considering to hear their opinion. For instance, I normally> write a subroutine which prints the overall layout of all my pages, so each> time I need to sent a page to the user I call the subroutine to pass...http://www.nntp.perl.org/group/perl.beginners.cgi/2008/06/msg13216.html Standard CGI module vs CGI::FastCGI::Simple by Mimi Cafe- June 17, 2008 Hi,I will be developing a database backed CGI application and now looking intoCPAN modules to use. Now my idea is to find people who have experience usingthe modules I am considering to hear their opinion. For instance, I normallywrite a subroutine which prints the overall layout of all my pages, so eachtime I need to sent a page to the user I call the subroutine to pass somevalues to print the page (see example):sub print_layout $x = _;print print html header hereprint "$xn";print.http://www.nntp.perl.org/group/perl.beginners.cgi/2008/06/msg13215.html Module for fast CGI application (Templating) by Mimi Cafe- June 17, 2008 Hi,I will be developing a database backed CGI application and now looking intoCPAN modules to use. Now my idea is to find people who have experience usingthe modules I am considering to hear their opinion. For instance, I normallywrite a subroutine which prints the overall layout of all my pages, so eachtime I need to sent a page to the user I call the subroutine to pass somevalues to print the page (see example):sub print_layout $x = _;print print html header hereprint "$xn";print.http://www.nntp.perl.org/group/perl.beginners.cgi/2008/06/msg13214.html mod_perl compilation!! by Pawel Eljasz- June 11, 2008 regards everybodygot my perl-5.10.0 compiled with prefix test as well as apachenow, I&39;d think, simple mod_perl compilation, righttestbinperl Makefile.pl MP_APXS=testsbinapxswell, huh, works fine, no errorsmodule lands into apache&39;s module folders, gets dynamically loaded into apache, finebut!! when I go to myhostperl-status I get perl-5.8.8 which is my distro&39;s versionhow come had to guess - my mistake during perl compilationif yes - how to compile mod_perl without recompiling whole...http://www.nntp.perl.org/group/perl.beginners.cgi/2008/06/msg13213.html Re: Simple Question... I hope by risadmc- June 4, 2008 Reply to Owen:I&39;m the client. The cgi script is on the 3rd party&39;s server. I&39;m justcreating a form that will post a file.Reply to David & Sean:<form method="post" action="https:somedomain.comabc123cgi-binthescript.cgi" enctype="multipartform-data">am I completely on the wrong trackThank you for all your help!!!Risahttp://www.nntp.perl.org/group/perl.beginners.cgi/2008/06/msg13212.html Re: Simple Question... I hope by Sean Davis- June 4, 2008 On Tue, Jun 3, 2008 at 1:00 PM, <risadmcgmail.com> wrote:> Ok, I&39;m uploading a file to a 3rd party. The file is being uploaded to> an https site with a cgi extension. The 3rd party finally provided me> with a snippet of their Perl code. They see the attempt coming> through, but there is no data. I understand how all this works... i> think there&39;s just a dot i&39;m not connecting somewhere. PLEASE HELP...> Thanks in advance!!!>> In my html file I have...>..http://www.nntp.perl.org/group/perl.beginners.cgi/2008/06/msg13211.html |