Re: Do I use fork() for this?

2001-07-19 Thread Pierre Smolarek
i recommend you buy the Perl Cookbook by o'reily there is a great fork section - Original Message - From: <[EMAIL PROTECTED]> To: "pierre smolarek" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Thursday, July 19, 2001 2:43 PM Subject: Re: Do I use

Re: Do I use fork() for this?

2001-07-19 Thread Pierre Smolarek
you see 1000's of children lost in your system :( trust me.. I know too well.. had many a crash with lack of memory during debugging. I recommend you develop a fork system off the live server! Pierre - Original Message - From: <[EMAIL PROTECTED]> To: "pierre smolarek&

Re: Do I use fork() for this?

2001-07-19 Thread Pierre Smolarek
not really the best way in my opinion what you could do is use two scripts. first script is the cgi, it does what needs to be done to get the data and then pipes it to a deamon script that forks off children for each proccess. The cgi then askes the deamon on the status of its child as t

Re: package

2001-07-17 Thread Pierre Smolarek
use my example: my ($key, $value)=split(/=/,$key_value); www.perldoc.com and look up 'my' - Original Message - From: "Guillaume Denizot" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, July 17, 2001 6:17 PM Subject: package Hello, When I execute: "perl my_cgi_lib.m", I h

Re: CGI.pm not recognising multipart/form-data ?! help

2001-07-11 Thread Pierre Smolarek
t; <[EMAIL PROTECTED]> To: "CGI Beginners" <[EMAIL PROTECTED]> Sent: Wednesday, July 11, 2001 5:08 PM Subject: Re: CGI.pm not recognising multipart/form-data ?! help > --- Pierre Smolarek <[EMAIL PROTECTED]> wrote: > > I have an upload script that works fine on othe

CGI.pm not recognising multipart/form-data ?! help

2001-07-11 Thread Pierre Smolarek
I have an upload script that works fine on other servers, up i just reinstalled perl 5.6.1 on a new server and its not working in the same way CGI.pm is loaded and seemes to detect the value's of forms, but not form-data forms... Do i need to install a mod somewhere? Need help on this one quite

Re: hello

2001-07-10 Thread Pierre Smolarek
http://learn.perl.org/ Go there and unsubscribe dude, your on the beginners-cgi mailing list... - Original Message - From: "Tami Flowers" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, July 10, 2001 1:59 PM Subject: hello stop forwarding all the mail from other people I d

Re: Session Handling like PHP

2001-07-10 Thread Pierre Smolarek
Apache::ASP - Original Message - From: "Gary Stainburn" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, July 10, 2001 10:40 AM Subject: Session Handling like PHP > Hi all, > > I've just seen a presentation at my local LUG showing how a non-programmer > can develop a shopping

Re: how to upload a file through an html form, again.

2001-07-10 Thread Pierre Smolarek
here is a quick example, i would recomend CGI.pm as it solves a lot of prebles for you, or if you wanna lower memory usage, then open up cgi.pm and take out the cod eyou need to do what you want and make your own OOP. use CGI qw(:cgi); # Import the CGI package my $basedir = "/tmp"; my $on

Re: Subroutine returning a hash (?)

2001-07-03 Thread Pierre Smolarek
} } - Original Message ----- From: "Rajeev Rumale" <[EMAIL PROTECTED]> To: "Pierre Smolarek" <[EMAIL PROTECTED]> Sent: Tuesday, July 03, 2001 10:56 AM Subject: Re: Subroutine returning a hash (?) > Great ! > > I would be greatfull if you can tell

Re: Subroutine returning a hash (?)

2001-07-03 Thread Pierre Smolarek
damn.. i ment sub cgi { my $hashref = {}; . return ($hashref); } my $cgi = {}; $cgi = &cgi; $cgi->{'varname'}; :) had {} after the sub :p - Original Message ----- From: "Pierre Smolarek" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]>; "Martijn

Re: Subroutine returning a hash (?)

2001-07-03 Thread Pierre Smolarek
sub cgi {} my $hashref = {}; . return ($hashref); } my $cgi = {}; $cgi = &cgi; $cgi->{'varname'}; - Original Message - From: "Martijn van Exel" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, July 03, 2001 10:01 AM Subject: Subroutine returning a hash (?) > Dear subscrib

Re: Help with Download

2001-06-27 Thread Pierre Smolarek
tar -xzvf CGI.pm.tar.gz failing that.. use cpan perl -MCPAN -e shell; install CGI - Original Message - From: "Moon, John" <[EMAIL PROTECTED]> To: "CGI Beginners" <[EMAIL PROTECTED]> Sent: Wednesday, June 27, 2001 5:46 PM Subject: Help with Download > I have downloaded http://stein.c

Re: Re: Some Advice plz :))

2001-06-27 Thread Pierre Smolarek
But seriously.. I didn't mean to sound harsh... I understand that you want your problem solved... Now.. if we gave the answer (wrote the script for you) then you'll abuse our help and ask again and again we are here to help people leran. Like someone else said, be a little bit mor spacific an

Re: SORRY... i didn't know guys :((

2001-06-27 Thread Pierre Smolarek
;[EMAIL PROTECTED]> Sent: Wednesday, June 27, 2001 4:14 PM Subject: SORRY... i didn't know guys :(( my god, i don't recall asking for you to write my F* code Pierre Smolarek all i asked for was advice to point me in that direction... if being a programmer is ganna make m

Re: Some Advice plz :))

2001-06-27 Thread Pierre Smolarek
e. you want us to do your work for you? /me points out that amazon has a large selection of very good perl books. - Original Message - From: "RDWest Sr." <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, June 27, 2001 3:11 PM Subject: Some Advice plz :)) hi yall,