Re: PERL CGI SCRIPT killed by apache on client abort

2011-03-28 Thread Peter Scott
On Sat, 26 Mar 2011 15:56:08 +0100, Przemysław Rejf wrote: > My upload script which uses upload hook works really nice. After the > upload ends it writes some debug stuff to log file and sends some info > to other host. > When client aborts the upload the reminder of the script after hook is > not

Re: PERL CGI SCRIPT killed by apache on client abort

2011-03-27 Thread Mike Williams
2011/3/26 Przemysław Rejf : > Hi, > My upload script which uses upload hook works really nice. After the upload > ends it writes some debug stuff to log file and sends some info to other > host. > When client aborts the upload the reminder of the script after hook is not > executed and i get an err

Re: Perl CGI

2010-04-30 Thread Robert Roggenbuck
Use LWP::Simple (not CGI). How to use it is written in the documentation of LWP::Simple. Robert karthickn sabari schrieb: Hi friends, I have some doubts in cgi perl. I want to connect server using perl CGI and i need to receive one txt file in server. Is it possible, then give me t

Re: Perl CGI advise/feedback please ...

2010-02-13 Thread Jeremiah Foster
On Feb 11, 2010, at 3:18, newbie01 perl wrote: > Hi all, > > I am wanting some advise/input on setting up some sort of intranet site to > allow system operators to manage the servers, mostly UNIX servers and some > Windows. I am constrained by not being able to install new modules or a > databas

Re: perl-cgi and apache configuration in fedora 9

2008-11-15 Thread Matthew Whipple
On Fri, 2008-11-14 at 22:58 +0530, venu madhav reddy wrote: > Hello, > please help me > I am using fedora 9 > plese tell me how to configure apache and perl-cgi in fedora 9 > apache and perl are in built with fedora > just tell me how to modify perl.conf file to run cgi progams. You most likely ne

Re: perl-cgi and apache configuration in fedora 9

2008-11-14 Thread Greg Jetter
On Friday 14 November 2008 8:28:58 am venu madhav reddy wrote: > Hello, > please help me > I am using fedora 9 > plese tell me how to configure apache and perl-cgi in fedora 9 > apache and perl are in built with fedora > just tell me how to modify perl.conf file to run cgi progams. > > > > > Thanks

Re: Perl CGI script running as root is unable to do rm, chmod and su

2008-07-16 Thread Wijnand Wiersma
Jimisola Laursen schreef: > Hi! > > I'm trying make one script (script1) call another script (script2) and > have the output from script2 returned. > My initial problem was that script2 needs to be executed as root, so > I've set the setuid and setgid bit on script1 (script2 unchanged): So script1

Re: Perl CGI script running as root is unable to do rm, chmod and su

2008-07-16 Thread Jimisola Laursen
Hi, Sorry, I was not clear enough. No the scripts are executed as root. I've verified it since the output contains: USER: root USER in script2: root Regards, Jimisola Wijnand Wiersma wrote: Jimisola Laursen schreef: Hi! I'm trying make one script (script1) call another script (script2) and

Re: perl cgi scrolling list within a forloop

2005-08-12 Thread DBSMITH
er.com Subject Re: perl cgi scrolling list within 08/12/2005 09:13 a forloop

Re: perl-CGI module - post method

2005-07-18 Thread Scott R. Godin
Scott R. Godin wrote: Ovid wrote: --- "Scott R. Godin" <[EMAIL PROTECTED]> wrote: his example and in which case you want to get the params AFTER creating the cgi-object my %params = $cgi->Vars; which ensures that you also get multi-value s as separate values. too. $cgi->Vars separates

Re: perl-CGI module - post method

2005-07-18 Thread Scott R. Godin
Scott R. Godin wrote: Ovid wrote: --- "Scott R. Godin" <[EMAIL PROTECTED]> wrote: his example and in which case you want to get the params AFTER creating the cgi-object my %params = $cgi->Vars; which ensures that you also get multi-value s as separate values. too. $cgi->Vars separates

Re: perl-CGI module - post method

2005-02-09 Thread Scott R. Godin
Ovid wrote: --- "Scott R. Godin" <[EMAIL PROTECTED]> wrote: his example and in which case you want to get the params AFTER creating the cgi-object my %params = $cgi->Vars; which ensures that you also get multi-value s as separate values. too. $cgi->Vars separates multiple values with a null by

Re: perl-CGI module - post method

2005-02-08 Thread Ovid
--- Tee <[EMAIL PROTECTED]> wrote: > Can you do: my %foo = $cgi->param("foo") > > Else, how do you loop thru to put the array into %keys? Sorry Tee, that won't work. Perl recognizes void, scalar, and list contexts. There is no "hash" context. If you have a hash on the left hand side of the equ

Re: perl-CGI module - post method

2005-02-08 Thread Tee
Can you do: my %foo = $cgi->param("foo") Else, how do you loop thru to put the array into %keys? --Tee On Feb 8, 2005, at 7:40 PM, Ovid wrote: --- "Scott R. Godin" <[EMAIL PROTECTED]> wrote: his example and in which case you want to get the params AFTER creating the cgi-object my %params = $cgi->Va

Re: perl-CGI module - post method

2005-02-08 Thread Ovid
--- "Scott R. Godin" <[EMAIL PROTECTED]> wrote: > his example and in which case you want to get the params AFTER > creating > the cgi-object > > my %params = $cgi->Vars; > > which ensures that you also get multi-value s as separate > values. too. $cgi->Vars separates multiple values with a nu

Re: perl-CGI module - post method

2005-02-08 Thread Scott R. Godin
David Romero wrote: David Romero wrote: Victor wrote: I use the last version of perl-CGI. When I transmit the variables using the get method it works($cgi->param() returns the correct value). When I transmit the variables using the post method it I receive a empty string(($cgi->param() is empty).

Re: perl-CGI module - post method

2005-02-08 Thread Ovid
--- David Romero <[EMAIL PROTECTED]> wrote: > Victor wrote: > > When I transmit the variables using the post method it I receive a > > empty string(($cgi->param() is empty). > > > The POST data can be read one time, if you create an cgi objet before > these, the second object recibe empty data. >

Re: perl-CGI module - post method

2005-02-08 Thread David Romero
David Romero wrote: Victor wrote: I use the last version of perl-CGI. When I transmit the variables using the get method it works($cgi->param() returns the correct value). When I transmit the variables using the post method it I receive a empty string(($cgi->param() is empty). If I try to recei

Re: perl-CGI module - post method

2005-02-08 Thread David Romero
Victor wrote: I use the last version of perl-CGI. When I transmit the variables using the get method it works($cgi->param() returns the correct value). When I transmit the variables using the post method it I receive a empty string(($cgi->param() is empty). If I try to receive the variables usi

Re: perl cgi uploaded file is empty

2004-07-17 Thread Gunnar Hjalmarsson
Xiangli Zhang wrote: I use perl cgi to upload file(any type: text or image) from web browser. The file was created, but is empty. See http://www.w3.org/TR/html4/interact/forms.html#h-17.13.4 -- Gunnar Hjalmarsson Email: http://www.gunnar.cc/cgi-bin/contact.pl -- To unsubscribe, e-mail: [EMAIL P

Re: Perl CGI and XML

2004-03-19 Thread mt m
Thanks - I got it sorted. I actually read the error msgs It was lookin for other modules that weren't installed. So I installed them, and it's fine now. thanks, From: "Wiggins d Anconia" <[EMAIL PROTECTED]> To: "mt m" <[EMAIL PROTECTED]>, [EMAI

Re: Perl CGI and XML

2004-03-19 Thread Wiggins d Anconia
Please bottom post > thanks - I've tried installing it (and other modules) on my Solaris 9 box. > The 'perl MakeFile.pl' and 'make' work fine, but 'make test' fails spitting > out "Command failed for target 'test_dynamic'" -- any idea what this means > and how I can fix it? > Can you prov

Re: Perl CGI and XML

2004-03-19 Thread mt m
I can fix it? thanks, -mt From: "Wiggins d Anconia" <[EMAIL PROTECTED]> To: "mt m" <[EMAIL PROTECTED]>, [EMAIL PROTECTED] Subject: Re: Perl CGI and XML Date: Fri, 19 Mar 2004 12:35:39 -0700 MIME-Version: 1.0 Received: from onion.perl.org ([63.251.223.166]) by mc1-

Re: Perl CGI and XML

2004-03-19 Thread Wiggins d Anconia
> I want to store the data from a straightforward form in an XML file. The > perl script has to read the form data, and write it to the XML file. > > What's the best/simplest module for this? > CGI.pm with XML::Simple would be my choices, both easy to work with and available on CPAN. http://da

Re: Perl CGI Newbie

2003-06-30 Thread Kristofer Hoch
Mark, Try this. It is completly untested so you may have to tweak it a bit. I wrote it this morning before having coffee. Kristofer #!/usr/bin/perl use warnings; use strict; use CGI::Carp 'fatalsToBrowser'; use CGI; sub writeToFile{ my $result = shift || return; # Returns if undefined open

Re: Perl CGI Newbie

2003-06-29 Thread Mark Anthony Sioting
Dear Sirs, As instructed, I put quotations on the attributes of my html file as follows: 1: 2: 3: Test: Write to a file 4: 5: http://192.168.1.1/cgi-bin/chap05/test.cgi"; METHOD="POST"> 6: Name: 7: 8: 9: 10: As you noticed I put the number lines on the scripts here on thi

Re: Perl/CGI with FRAMES

2003-03-03 Thread Dennis Stout
> Working with Frames will be messy any way you cut it. So messy in fact, I found SSI to be a much nicer way to do things. That's my 2 cents! Dennis -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Perl/CGI with FRAMES

2003-03-02 Thread zentara
On Sat, 1 Mar 2003 10:49:55 -0800, [EMAIL PROTECTED] (Maureen E Fischer) wrote: >I have recently finished an online database system using perl/cgi. It >has been suggested that it would lend itself to using HTML frames. >I have a main menu that could always be shown and what is selected from it >w

Re: Perl/CGI with FRAMES

2003-03-01 Thread drieux
On Saturday, Mar 1, 2003, at 10:49 US/Pacific, Maureen E Fischer wrote: [..] Do I have to write my HTML to an intermediate file and then refer to that using the SRC attribute? Working with Frames will be messy any way you cut it. But I have a project that we did using frames - and I came up with

Re: Perl/cgi question

2002-11-17 Thread Wiggins d'Anconia
perldoc -f system or check out the "backtick" operator. Use system if you are just wishing to receive the result code from execution, use the backticks if you need to capture the output of the command. You might also check out the expect module on CPAN and see if you can bring all of the vario

Re: perl cgi security

2002-11-01 Thread zentara
On Thu, 31 Oct 2002 15:56:59 -0500, [EMAIL PROTECTED] (Todd W) wrote: > >"Jim Lundeen" <[EMAIL PROTECTED]> wrote in message >news:3DBDA799.307DC69A@;jimmyjames.net... >> nothing that will work on Linux box? > >perlcc works... see below. Yeah, I have to say that the perlcc which comes with perl5.8.

Re: perl cgi security

2002-10-31 Thread Todd W
"Jim Lundeen" <[EMAIL PROTECTED]> wrote in message news:3DBDA799.307DC69A@;jimmyjames.net... > nothing that will work on Linux box? perlcc works... see below. > Admin-Stress wrote: > > > Nice, but that will produce .exe, executable file for Windows :( > > > > --- David Simcik <[EMAIL PROTECTED]>

RE: perl cgi security

2002-10-28 Thread Nikola Janceski
this reply. > -Original Message- > From: Abel Lucano [mailto:abel@;decode.com.ar] > Sent: Monday, October 28, 2002 4:35 PM > To: Jim Lundeen > Cc: Admin-Stress; [EMAIL PROTECTED] > Subject: Re: perl cgi security > > I understand instead that you want 'hide' your

Re: perl cgi security

2002-10-28 Thread Abel Lucano
On Mon, 28 Oct 2002, Jim Lundeen wrote: > nothing that will work on Linux box? > > Admin-Stress wrote: > > > Nice, but that will produce .exe, executable file for Windows :( > > > > --- David Simcik <[EMAIL PROTECTED]> wrote: > > > See perl2exe.exe for details on converting scripts into executable

Re: perl cgi security

2002-10-28 Thread Jim Lundeen
nothing that will work on Linux box? Admin-Stress wrote: > Nice, but that will produce .exe, executable file for Windows :( > > --- David Simcik <[EMAIL PROTECTED]> wrote: > > See perl2exe.exe for details on converting scripts into executables. > > > > -D > > _

RE: perl cgi security

2002-10-28 Thread Admin-Stress
Nice, but that will produce .exe, executable file for Windows :( --- David Simcik <[EMAIL PROTECTED]> wrote: > See perl2exe.exe for details on converting scripts into executables. > > -D __ Do you Yahoo!? Y! Web Hosting - Let the expert host your

RE: perl cgi security

2002-10-28 Thread David Simcik
See perl2exe.exe for details on converting scripts into executables. -D -Original Message- From: Jim Lundeen [mailto:jim@;jimmyjames.net] Sent: Monday, October 28, 2002 12:48 PM To: fliptop Cc: Admin-Stress; [EMAIL PROTECTED] Subject: Re: perl cgi security Isn't there a meth

Re: perl cgi security

2002-10-28 Thread Jim Lundeen
Isn't there a method of actually making an executable (compiled) out of a perl script? I heard/saw about is a year or so ago, but never investigated it. I'd be interested in finding out more if anyone has info. Thanks fliptop wrote: > On Sun, 27 Oct 2002 at 14:10, Admin-Stress opined: > > A:I

Re: perl cgi security

2002-10-28 Thread zentara
On Sun, 27 Oct 2002 14:10:58 -0800 (PST), [EMAIL PROTECTED] (Admin-Stress) wrote: >I am new to perl cgi. I would like to ask (maybe a silly question) : >Is it possible to VIEW the source code of a perl cgi from a website? >For example, I wrote a perl cgi like this http://www.myweb.com/cgi-bin/addc

Re: perl cgi security

2002-10-28 Thread fliptop
On Sun, 27 Oct 2002 at 14:10, Admin-Stress opined: A:Is it possible to VIEW the source code of a perl cgi from a website? sure, if your httpd server is improperly configured. A:For example, I wrote a perl cgi like this A:http://www.myweb.com/cgi-bin/addcustomer.pl A: A:The purpose of that script

Re: Perl / CGI - User Authentication ...

2002-10-09 Thread Todd Wade
Kevin wrote: > Hello, > > I am in the process of developing a CGI application that requires user > authentication. In the past I have developed a simple login screen where I > validated the user and forwarded the request based on the result. > > I would like to progress to the next level and pa

Re: perl cgi and html table td tags..

2002-07-06 Thread Octavian Rasnita
AIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Friday, July 05, 2002 11:01 PM Subject: Re: perl cgi and html table td tags.. First, I have to declare that below are my own opinion only. Second, I would like to give you a pure HTML sample for a 2x2 table. Col 1 Row 1 Col 2 Row 1 Co

Re: perl cgi and html table td tags..

2002-07-05 Thread Connie Chan
First, I have to declare that below are my own opinion only. Second, I would like to give you a pure HTML sample for a 2x2 table. Col 1 Row 1 Col 2 Row 1 Col 1 Row 2 Col 2 Row 2 Third, I would say, CGI.pm can handle simple with quite fair quality, but it should not for a table. Code wi

Re: Perl/CGI and Databases (where to begin?)

2002-07-02 Thread Todd Wade
Roger Spears wrote: > I'm working on a project that uses Perl/CGI to work with Databases. I > have done this before with basic txt files and then I use 1000 lines of > code to make them appear relational. What would be an easier way to > achieve this? SQL? > > Can you use Perl/CGI to interact

Re: Perl CGI FORM statement

2002-07-02 Thread Connie Chan
So... I've viewed your code... the only problem is you used so may "" In case, one is enough and all ( just for your case ) However, that's not the Perl stuff, but HTML prob., So I only explain it short =) You can finish your whole script like this, actually the framework should be looking

Re: Perl CGI FORM statement

2002-07-02 Thread John Brooking
Maureen, Personally, I would just print out the raw HTML in this case rather than try to use CGI's form function. Something like (ignore the word wrap, please): print p( "A paragraph with CGI.pm" ); # Now output the plain HTML tags print ""; if( $my_first_condition ) { print " ";

Re: Perl CGI FORM statement

2002-07-02 Thread Connie Chan
Any sample ? and Source Code ? Smiley Connie =) - Original Message - From: "Maureen E Fischer" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, July 03, 2002 12:24 AM Subject: Perl CGI FORM statement > Hello, > My question is about CGI's form statement. I wrote a pro

Re: Perl/CGI and Databases (where to begin?)

2002-06-27 Thread fliptop
On Thu, 27 Jun 2002, Roger Spears opined: RS:I'm working on a project that uses Perl/CGI to work with Databases. I RS:have done this before with basic txt files and then I use 1000 lines of RS:code to make them appear relational. What would be an easier way to RS:achieve this? SQL? yes, sql i

Re: Perl/CGI mysql book

2002-06-06 Thread Brent Michalski
cc: (bcc: Brent Michalski/STL/MASTERCARD) Subject: Re: Perl/CGI mysql book 06/05/02 04:25 PM

Re: Perl/CGI mysql book

2002-06-05 Thread Gregory Bertz
Oreilly "Programming the Perl DBI" is a good one also "Managing and Using MySQL" also an Oreilly book... Maureen E Fischer wrote: > I am writing my first CGI application and after analysis of the data > structure that is required I determined that a DBM file would not be > sufficient. Mysql was

Re: Perl/CGI mysql book

2002-06-05 Thread charles
My personal opinion is that cutom databases are very easy to create in a perl script and usually run faster and more efficient than cumbersome packages. there are many perl freebies out there to start you in the right direction and will also serve as a better learning tool. basically a database is

RE: Perl/CGI Website Ideas

2002-06-05 Thread John Pitchko
Yes thank you, those were/are the books I am working through at work. I guess, to be more specific, I am not looking to the syntax of it, but more of some design techniques and site authoring guidelines for Perl/CGI websites. >>> "Scot Robnett" <[EMAIL PROTECTED]> 06/05/02 02:49pm >>> The best

RE: Perl/CGI Website Ideas

2002-06-05 Thread Scot Robnett
The best place to start is with the books "Learning Perl" and "CGI Programming with Perl" (you can find them on www.oreilly.com). Check out this site, www.pm.org to find a Perl Mongers user group near you. You can see what other people have done (so you can do it better) at sites like h

RE: Perl/CGI mysql book

2002-06-05 Thread Scot Robnett
Programming the Perl DBI http://www.oreilly.com/catalog/perldbi/ SAMS Teach Yourself SQL in 10 Minutes (It's a lie but it's still a helpful book) http://www.amazon.com/exec/obidos/ASIN/0672321289/qid=1023301413/sr=1-1/ref= sr_1_1/002-4842183-8613640 -Original Message- From: Maureen

Re: Perl/CGI mysql book

2002-06-05 Thread Kevin Meltzer
Um.. what did the book not cover about this? We used DBI to connect to MySQL in about every chapter. What did the simple example on page 57 not provide for connecting to a DB? Cheers, Kevin On Wed, Jun 05, 2002 at 11:12:13AM -0700, Maureen E Fischer ([EMAIL PROTECTED]) said something similar to

Re: Perl/CGI mysql book

2002-06-05 Thread Brent Michalski
Hi, What kind of trouble are you having with your first connect? Are you having a MySQL issue or is it with the Perl DBI? I am one of the authors of "Writing CGI Applications with Perl" and I would love to help you out and also see what other details may need to be added to any future versions

Re: Perl/CGI mysql book

2002-06-05 Thread Kristofer Hoch
Try O'Reilly's MySql & mSQL. Also use the Online reference at www.mysql.org (documentation, MySQL APIs) Kristofer Original Message Follows From: "Maureen E Fischer" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Subject: Perl/CGI mysql book Date: Wed, 5 Jun 2002 11:12:13 -0700 I am wri

Re: Perl Cgi and Majordomo - Please Help!

2002-06-04 Thread drieux
On Tuesday, June 4, 2002, at 09:26 , zentara wrote: > On Mon, 3 Jun 2002 15:12:20 -0400 , [EMAIL PROTECTED] (Anya Miretsky) > wrote: > >> Hi I am trying to write a perl cgi script that interfaces with Majordomo, >> I >> would like to create a mailing list in Majordomo programatically (i.e. >>

Re: Perl Cgi and Majordomo - Please Help!

2002-06-04 Thread zentara
On Mon, 3 Jun 2002 15:12:20 -0400 , [EMAIL PROTECTED] (Anya Miretsky) wrote: >Hi I am trying to write a perl cgi script that interfaces with Majordomo, I >would like to create a mailing list in Majordomo programatically (i.e. have >Perl read a through some email addresses strored in a mysql datab

Re: Perl CGI with ISP - advice?

2002-04-19 Thread Todd Wade
"Zentara" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED]... > On Tue, 16 Apr 2002 13:17:59 -0700 (PDT), [EMAIL PROTECTED] (John > Brooking) wrote: > > For instance, I wanted to use Crypt::RC4 on a remote server. > Using the above unshift, I upload Crypt::RC4 but it wouldn't work > un

Re: Perl CGI with ISP - advice?

2002-04-16 Thread DavidVanCamp
I cannot answer these questions, as I am facing exactly the same situation and have exactly the same set of question myself -- so I will be monitoring closely for any answers! However, as per CGI.pm, I do know that on Tripod/Lycos accts, they install CGI.pl and a number of Tripod*.pl modules for