On Sun, 2 May 2004 at 15:00, Charlie davis opined:
Cd:But when I type what it says in the book I am getting an error
Cd:messagethat states that I have entered a bad command or filename what I
Cd:am entering is c:\> perl -w -e "print \ "Hello, World!\n\";" And then I
Cd:get the error message.
Cd:
C
On Tue, 3 Feb 2004 at 17:42, Chad A Gard opined:
CAG:I'm attempting to dynamically place an image into the user interface
CAG:of an intranet site to celebrate various holidays. It's really not
this doesn't really have anything to do with cgi, but if you read the
recipes for Date::Calc, you shou
On Tue, 28 Oct 2003 at 10:52, [EMAIL PROTECTED] opined:
:On martedì 28 ottobre 2003, alle 10:15, SRef wrote:
:> Why not try before you ask ?
:
:I though this mailing list was for beginners, and as I've started using
:CGI Perl just a week ago, I'm not still so able to send POST oversized
:for an ha
On Tue, 30 Sep 2003 at 23:57, David Gilden opined:
DG:How can I add two hours to offset for central time?
try date::calc
http://search.cpan.org/~stbey/Date-Calc-5.3/
you'll probably want to use the Add_Delta_Days() function.
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional command
On Thu, 11 Sep 2003 at 14:13, drieux opined:
[snip]
d: sub should { defined($REQ_PARAMS->{$_[0]}); }
d:
d: sub doDaemon {
d:
d: }
d: sub kickDaemon { $me=shift; $me->doDaemon(@_); }
d: # the synonym trick...
d:
d:Which still gives me a HASH to m
On Thu, 11 Sep 2003 at 07:55, drieux opined:
d:simply because
d:
d: $obj->can($do);
d:
d:does not mean
d:
d: $obj->should($do);
d:
d:The problem I am looking for in my should() method
d:is a programatic way to solve Which Method to invoke
d:the correct sub to deal with a query string. I
On Mon, 8 Sep 2003 at 15:36, drieux opined:
drieux - since no one has responded, i'll take a stab at some of the
issues you bring up.
d:One of my first question is - why the 'closure' eg:
d:
d:{
d: package FOO;
d:
d:}
d:
d:Or is that simply to make 'clear' that outside of
d:the Cl
On Tue, 9 Sep 2003 at 14:50, Hanson, Rob opined:
HR:(ActiveState), or modules (Tk). This is a good list for any
HR:beginner(ish) question, no matter the subject... just as long as it is
HR:a Perl question.
i disagree - this list is for perl beginners cgi questions. if your perl
question does no
On Tue, 26 Aug 2003 at 00:31, Octavian Rasnita opined:
OR:This is a pretty good method, but it is not so good because the
OR:visitors won't be able to use a Download manager to download the file.
OR:Or better said, they won't be able to resume the download.
true, however the original poster asked
On Sun, 24 Aug 2003 at 03:04, zsdc opined:
z:fliptop wrote:
z:
z:> merrill - i'm a little late on this thread, and the other suggestions are
z:> valid, but here's one way to serve up files w/o using a direct link by
z:> taking advantage of CGI.pm's header() function:
z:>
z:> my $cgi = new CGI;
z:
On Wed, 20 Aug 2003 at 13:29, Merrill Oakes opined:
MO:I have a link to a PDF file on a web page. I want to count how many
MO:times that someone clicks on the link (i.e. downloads the PDF). The
MO:easy way (at least for me) would be to make them go to a "download page"
MO:first, and I could p
On Mon, 11 Aug 2003 at 22:36, Octavian Rasnita opined:
[snip]
OR:I've tried chmodding the perl script to 755, and I've tried running it
OR:with:
OR:
OR:$ script.pl
OR:
OR:...but it didn't want to run, telling me that there is no command
OR:script.pl, even though the script has a shebang line in it
On Fri, 18 Jul 2003 at 23:46, Mike opined:
M:What if I now want to upload 2 files. The first can be up to 100k in size
M:and the second up to 80k in size? That is pretty much the way I have it set
M:up at the moment...
M:
M:Or should I admit defeat at this stage and allow 2 files to be uploaded
On Fri, 18 Jul 2003 at 12:03, Mike Harrison opined:
MH:I have a perl program that allows a user to upload a file (either .jpg or
MH:.gif) to the server, and returns a message if it exceeds a specified size
MH:(in my case 100kB). Currently (and don't laugh - I am new to perl), I go
MH:through the
On Tue, 15 Jul 2003 at 17:30, Anshuman Kanwar opined:
[snip]
AK:So it sees the filename but not the data itself. Problem is that I want to
AK:save the Jpg pictures in some other files and the
AK:"BOTZSERIAL=00:02:D3:00:01:01" type info in some other file, but I am not
AK:seeing the binary (jpg) da
On Sun, 22 Jun 2003 at 16:57, Scot Robnett opined:
SR:How would one go about determining if something is 3 days old, 3 months old,
SR:1 year old, etc., based on the following scenario?
SR:
SR:The date that a user subscribes to our site is stored in a MySQL database in
SR:the DATE format -mm-dd
On Wed, 18 Jun 2003 at 20:09, Richard Heintze opined:
RH:Both Microsoft (with ASP.NET) and Apache (with stuts
RH:and java custom tag library) have recognized the
RH:perils of embedding UI code (browser code like HTML
RH:and Javascript) inside backend/database code (SQL,
RH:perl, Java, C# etc...)
On Tue, 17 Jun 2003 at 10:35, Scot Robnett opined:
SR:fliptop wrote:
SR:--
SR:are the email addresses stored in a db? any reason you can't use
SR:majordomo or ezmlm or something similar?
SR:
SR: Yes, they're stored in a MySQL database table
SR: of subscribers. I -could- use ma
On Mon, 16 Jun 2003 at 17:15, Scot Robnett opined:
SR:Is anyone aware of a good module for scheduling an event that is not a
SR:command line event? I may just be able to use cron for this but I'm checking
SR:if there is another solution. I want to schedule an e-mail to be sent to a
SR:list of abou
On Wed, 28 May 2003 at 01:00, Nicholas Davey opined:
[snip]
ND:http://www.blah.com/cgi-bin/index.cgi?login=yes (DONT go here, example only)
ND:
ND:#!/usr/bin/perl
ND:
ND:[ output HTML headers and top of page here ]
ND:
ND:if (login eq 'yes') {
ND:[ output login form here ]
ND:}
ND:
ND:[ output
On Fri, 4 Apr 2003 at 16:29, Mike Butler opined:
MB:Thanks, Andrew. I added CGI::Carp qw(fatalsToBrowser); to the script. That's
MB:a big help. The error message that I get now is:
MB:Software error:
MB:Undefined subroutine &main::param called at simpleform.cgi line 6.
MB:
MB:Line 6 is my $usernam
On Mon, 31 Mar 2003 at 12:41, David Gilden opined:
DG:I have uploaded the following to a UNIX server at Earthlink,
DG:and it is returning a 500 Internal Server Error.
[snip]
DG:my $loc = '/pages/thankyou.htm';
i'd try this instead:
my $loc = "/pages/thankyou.htm\n\n";
do you have access to your
On Sun, 30 Mar 2003 at 22:43, Cool Hand Luke opined:
[reply cc'd to group]
CHL:> and to offer one example as an answer to your question, how would you
CHL:> parse a binary file uploaded to your script using your split(/[&;]/,
CHL:> $submission) code?
CHL:
CHL:Not parsing any binaries, just simple
On Sun, 30 Mar 2003 at 12:53, Cool Hand Luke opined:
CHL:Now, why not? Also, notice that the code I used is not what you have quoted.
CHL:Really am curious as to why not, though.
because someone else has already written a pretty solid module for parsing
query strings, and it's been tried and tes
On Tue, 11 Mar 2003 at 11:49, Susan Aurand opined:
SA:Hello, Can anyone tell me why I am receiving an error can't locate
SA:Net/LDAP.pm in @ INC (@INC includes /usr/lib/perl5/5.6.1 etc, etc etc,
SA:etc.
is net::ldap installed?
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional comman
On Tue, 4 Mar 2003 at 08:12, Todd W opined:
TW:my( $string ) = "you ordered $q->param('quantity') foobars\n";
TW:
TW:The quoting mechanism knows nothing about evaluating expressions. That's
TW:what concatenation is for:
TW:
TW:my( $string ) = "you ordered " . $q->param('quantity') . " foobars\n";
On 28 Feb 2003 at 05:31, Randal L. Schwartz opined:
RLS:> "WilliamGunther" == WilliamGunther <[EMAIL PROTECTED]> writes:
RLS:
RLS:WilliamGunther> I think Programming Perl is good for learning. There
RLS:WilliamGunther> is a book also called Learning Perl from O'Reilly, but
RLS:WilliamGunther>
On Sun, 23 Feb 2003 at 20:09, Ed Sickafus opined:
ES:Server: Linux (RedHat 7.2) Apache 1.3.x
ES:I'm trying to run an introductory exercise out of MySQL Cookbook by Paul
ES:DeBois
ES:Accessing MySQL from a PC via PuTTY to ISP's UNIX
ES:I can get to the mysql> prompt but no further.
[snip]
since yo
On Thu, 20 Feb 2003 at 09:41, Peter Kappus opined:
[snip]
PK:Quite ingenious. While I'm sure I'll regret it later (and curse your good
PK:name as I'm wishing I'd taken the time to learn Mason or HTML::Template)
PK:this seems like a great quick fix for the time being. And it never hurts to
PK:lea
On Mon, 17 Feb 2003 at 10:26, Peter Kappus opined:
[snip]
PK:which would create and send the image tag for me.
PK:I'd like, in perl, to do the following:
PK:
PK:print<
PK:
PK:
PK:
PK:
PK:eob
PK:
PK:Ideally, I would overload the print function so that it would search for
PK:stat
On Thu, 30 Jan 2003 at 08:33, Mike Blezien opined:
MB:trying to put together a simple 'ping' display via the browser... and
MB:not having any luck... how does one get the results of a ping to diplay
MB:the results properly ??
http://search.cpan.org/author/BBB/Net-Ping-2.28/lib/Net/Ping.pm
don't
On Sat, 18 Jan 2003 at 17:45, Hughes, Andrew opined:
[reply cc'd to list]
HA:DBD::mysql::db do failed: Duplicate entry '[EMAIL PROTECTED]' for
HA:key 2 at nCSSW.pl line 787.
HA:
HA:I know that you tried to point me in the right direction with the code
HA:snippet that you suggested. However, as I
On Fri, 17 Jan 2003 at 17:10, Hughes, Andrew opined:
[snip]
HA:The goal is that before I submit a form submission to the database, I want
HA:to make sure that someone with the same email address has not already
HA:submitted it. If the count(*) brings up anything greater than 0 then the
HA:users h
On Fri, 17 Jan 2003 at 14:29, Hughes, Andrew opined:
HA:My problem had to do with the content header. I also did not realize that
HA:you are supposed to point the .pl file in the browser. Rookie mistakes!
HA:
HA:As far as the tags, all of the tutorials that I have seen look
HA:like this -- as
On Thu, 16 Jan 2003 at 16:32, Hughes, Andrew opined:
HA:I am pointing to the results.tmpl file which is in the same folder as the
HA:the .pl script. I found another test script on the web on another website,
HA:and I have the same problem -- the tags are not replaced with the
HA:information in th
On Thu, 16 Jan 2003 at 11:49, Hughes, Andrew opined:
HA:Thanks for the feedback. Before I get started on the html::template
HA:tutorial, I wanted to try a quick sample page using html::template.
HA:However, when I try it, I cannot get the tag in the html to process. Could
HA:someone take a look
On Wed, 15 Jan 2003 at 21:11, Hughes, Andrew opined:
HA:does anyone have any strong feelings (know of tutorials) toward an
HA:altrnative method like html::template or html::mason? Any and all
HA:suggestions are greatly appreciated.
http://www.peacecomputers.com/addressbook/step5.html
--
To un
On Wed, 15 Jan 2003 at 22:32, LRMK opined:
L:how do I retrieve & save files that has been posted from a Html form to
L:my cgi script.
have you read 'perldoc CGI'?
L:please send a piece of example code
from 'perldoc CGI' (for a plain text file):
$fh = $query->upload('uploaded_file');
On Mon, 6 Jan 2003 at 20:44, Hughes, Andrew opined:
HA:That makes a lot of sense. If I strip out the pipes, tabs, hard returns
HA:etc. going into the database table, do you think that I should be okay not
HA:using the module?
why waste your time?
the csv modules already on cpan do it all for yo
On Mon, 6 Jan 2003 at 15:11, Hughes, Andrew opined:
HA:my $filename = "out.txt";
HA:open(OUTFILE,">$filename");
HA: $stmt = qq { select * from 2002brochurecontest };
HA: $sth = $dbh->prepare ($stmt);
HA: $sth->execute ();
HA: $count = 0;
HA: while (my $row = $sth->fetchrow_hashref())
HA:{
[reply cc'd to list]
On Thu, 19 Dec 2002 at 06:23, Rob Richardson opined:
RR:What is the advantage of these changes?
RR:When is Perl 6 due out?
RR:Do those links you provided describe all the differences we will see in
RR:Perl 6?
i'm no authority on perl 6, so i can't answer any of your questi
On Wed, 18 Dec 2002 at 13:49, kevin christopher opined:
kc:Hope this doesn't further belabor the issue, but just to put my
kc:two cents in, Perl syntactic rules for prefixing "$", "@", "%" are
kc:very consistent, IMHO: You just need to keep in mind the types of
kc:the values/data types ultimate
On Tue, 10 Dec 2002 at 06:51, Admin-Stress opined:
A:I dont know why, in my OTHER RedHat 8.0 installation, I cant find
A:CGI.pm. I did install perl5.8.0.
A:
A:Anyone know how to install it? I looked in cpan, it seems it's default
A:perl module. And I cant find any installer for it.
A:
A:Is it OK i
On Thu, 5 Dec 2002 at 10:39, Admin-Stress opined:
[snip]
A:I just want to make a 'secure site' that need username and password. So, the first
page of my site
A:would be "fill in you username and password", for example, it will be placed here :
A:
A: http://www.mydomain.com/login.html
A:
A:After
On Tue, 3 Dec 2002 at 09:36, T. Murlidharan Nair opined:
TMN:any calculations on them obviously. How do I check whether
TMN:the column contains data, once I have retrived all the data
TMN:using fetchrow_hashref().
you probably should ask on a dbi list.
http://www.isc.org/services/public/lists/
On Mon, 2 Dec 2002 at 21:28, Scot Robnett opined:
SR:I am working with a university on a web project which entails setting up a
SR:new server. We're going with Red Hat Linux on Dell hardware (RAID 5
SR:configuration), but I am not sure which version of Perl to recommend. I am
SR:very used to 5.005
On Sun, 24 Nov 2002 at 09:40, Ramon Hildreth opined:
RH:Hi,
RH:This is a clarification of a previous question about a scrolling list.
RH:here is my code:
RH:--
RH:"city name", scrollinglist( -name=>"city",
RH: -override=>'1',
RH:
On Sat, 23 Nov 2002 at 17:25, [EMAIL PROTECTED] opined:
:does anybody have any really good sites or books that deal just with CGI as
:in applications to web programming. Almost all i have found in the book area
:is how to code perl in the command line interface. I looking for just web
:based st
On Sat, 23 Nov 2002 at 05:07, Admin-Stress opined:
A: if ($res->is_success) {
A: print $res->content;
A: } else {
A: print "Error: " . $res->status_line . "\n";
A: }
A:
A:What is the variable type of $res->content ? is it Array? Because it
A:just dumped the output (multiple lines),
On Fri, 22 Nov 2002 at 15:56, Mike(mickako)Blezien opined:
M: @lists = split(/ /,param('list'));
from perldoc CGI:
FETCHING THE VALUE OR VALUES OF A SINGLE NAMED PARAMETER:
@values = $query->param('foo');
-or-
$value = $query->param('foo');
--
On Thu, 21 Nov 2002 at 08:09, Michael Kelly opined:
MK:On Thu, Nov 21, 2002 at 07:19:37AM -0500, fliptop wrote:
MK:> On Wed, 20 Nov 2002 at 13:58, Michael Kelly opined:
MK:>
MK:> MK:On Wed, Nov 20, 2002 at 02:02:05PM +, Nick Malden wrote:
MK:> MK:
MK:> MK:CGI.pm doesn'
On Wed, 20 Nov 2002 at 13:58, Michael Kelly opined:
MK:On Wed, Nov 20, 2002 at 02:02:05PM +, Nick Malden wrote:
MK:
MK:CGI.pm doesn't support http-equiv meta-tags, according to the documentation.
MK:What about something as simple as:
what? snippet from perldoc CGI:
To create an HTTP-EQUIV t
On Wed, 20 Nov 2002 at 14:02, Nick Malden opined:
NM:print $q->header,
NM: $q->start_html(-title=>'My new page',
NM:-meta=>{'http-equiv'=>'Cache-Control'
'content'='no-cache,must-revalidate'})
NM:-meta=>{'http-equiv'=>'Pragma: no-cache'});
NM:
NM:but this give
On Fri, 1 Nov 2002 at 07:04, Admin-Stress opined:
A:Maybe this is not so related with perl it self, but still ...
A:
A:Is there any way to 'auto execute cgi' ? I meant, I have to trigger
A:something (like updating database via perl) just after user viewed the
A:html.
perhaps a server side include
On Tue, 29 Oct 2002 at 15:57, Jimmy George opined:
JG:And how come my use of -wT in the opening line results in a
JG:
JG:'Too late for Taint mode now' message?
JG:
JG:Again the cgi programming book uses it every where except for the
JG:security chapter but my Mac debugger will not accept it at all
On Mon, 28 Oct 2002 at 10:26, T. Murlidharan Nair opined:
TMN:I must confess this is not a Perl CGI question, but,since we have some
then you should probably ask it on a non-cgi list. try one of these:
http://lists.perl.org/showlist.cgi?name=beginners
http://lists.perl.org/showlist.cgi?name=pe
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
On Fri, 25 Oct 2002 at 12:11, Al Hospers opined:
have you looked at apache's documentation for mod_include?
http://httpd.apache.org/docs/mod/mod_include.html
AH:the cgi works fine when called in the browser as a url, here:
AH:
AH:http://66.186.192.77/cgi-bin/quotes/quotemaster.cgi?
AH:
AH:but wh
On Wed, 16 Oct 2002 at 19:33, Colby opined:
[snip]
C:Global symbol "" requires explicit package name at ./myscript.cgi line
C:60, 70, 90, 108
[snip]
C:I've gone over the code with a fine-tooth comb as it were, checked for
C:the usual (missing semi-colons, right parenthesis/curly braces, etc
C:...)
On Tue, 15 Oct 2002 at 06:27, Octavian Rasnita opined:
OR:Can you tell me what else do I need to use MySQL databases?
you can start off by reading
perldoc DBI
and
perldoc DBD::mysql
which are the fundamental modules you'll need to communicate with mysql
from perl.
OR:With MySQL I am at th
On Thu, 10 Oct 2002 at 22:01, Ian Watt opined:
IW:is there some special trick to linking a style sheet to your page when
IW:the page is generated by a cgi script?
IW:I have this sub routine that prints the header of a html page:
IW: sub write_html_header
IW: {
IW:print "Content-type: text/
On Mon, 7 Oct 2002 at 12:24, joel_divekar opined:
[snip]
j:a) I am using HTML editor for creating web pages and I will never be
j:using CGI.pm for creating HTML pages atall.
j:b) I want to use CGI.pm to just process the accepted data. Or do I use
j:any other module instead. Can you provide me wit
On Thu, 3 Oct 2002 at 08:52, zentara opined:
z:On Thu, 03 Oct 2002 07:34:13 -0400, [EMAIL PROTECTED] (Zentara)
z:wrote:
z:
z:Oops, keep forgetting the header. :-) The following will
z:send the form variables back to the browser.
z:
z:>###
z:>#!
On Sun, 29 Sep 2002 at 16:40, Octavian Rasnita opined:
OR:Can you give me some hints about how I should use the fork, to run the
OR:process in background?
have you read
perldoc -f fork
yet? if so, what part of that do you not understand?
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For ad
On Wed, 25 Sep 2002 at 10:00, Geraint Jones opined:
GJ:On Tuesday 24 September 2002 3:41 pm, fliptop wrote:
GJ:> On Tue, 24 Sep 2002 at 13:24, Geraint Jones opined:
GJ:>
GJ:> GJ:I'm trying to get the output from a barcode scanner into my CGI script.
GJ:> What I GJ:would l
On Tue, 24 Sep 2002 at 13:24, Geraint Jones opined:
GJ:I'm trying to get the output from a barcode scanner into my CGI script. What I
GJ:would like to see is the barcode going straight into a text box in my
GJ:browser. I am using Device::SerialPort to read the output which works fine as
GJ:a n
On Thu, 19 Sep 2002 at 08:20, Alex Agerholm opined:
AA:I am writing a CGI application/script in Perl which I am going to sell
AA:This application uses a few Perl modules (CGI.pm, Session.pm) which is
AA:covered by the GPL.
AA:How am I going to handle that, when I do not want to release my applica
On Wed, 18 Sep 2002 at 20:43, Daniel Hurtado Brenner opined:
DHB:For example:
DHB:If i have a flat data base myfile.txt with this info:
DHB:
DHB:1|name|address|
DHB:2|name two|address two|
DHB:3|name three|address three|
DHB:4|name four|address four|
DHB:. (etc, etc)
DHB:
DHB:If i execute:
DH
messages to the list so everyone
can benefit from the questions and answers.
to answer your question - did you investigate the perl module i listed?
it's called Image::Magick::Thumbnail, and it does exactly what you
describe. Please see below:
OR:- Original Message -
OR:From: &qu
On Wed, 18 Sep 2002 at 12:53, [EMAIL PROTECTED] opined:
[snip]
n:My problem with this scenario involves my lack of knowledge in --
n:
n:A. ... first converting a current system date to a string date (which can
n:be appended to a text log file).
n:B. ... or comparing the logged initial-question d
On Wed, 18 Sep 2002 at 09:56, Yuen, Alex opined:
YA:I was wondering if it is possible to write a CGI (Perl) program to make a
YA:thumbnail page for my website.
YA:
YA:If so, how would I start and use for doing this?
if you question is how to create a thumbnail from a regular image, then
you cou
On Mon, 9 Sep 2002 at 22:08, Maureen E Fischer opined:
MEF:I'm working on a Perl CGI program that must update
MEF:A mysql database. The user enters key information that
MEF:Is used to display zero to many records. Then the user
MEF:Can update or delete any number of records displayed.
MEF:I
On Thu, 5 Sep 2002 at 09:01, Anthony E. opined:
AE:ie - i have two arrays (lists):
AE:
AE:@hrefs: a list of urls..
AE:and @banned, and list of bad urls. I want to remove
AE:the @banned urls from @hrefs.
AE:
AE:How would i do this?
you probably should represent one (or both) arrays as a hash.
pe
On Tue, 3 Sep 2002 at 11:05, Mike(mickako)Blezien opined:
M:Need to come up with a script to monitor a special POP3 account that will be
M:used to tigger another script.. was hoping someone could direct me or supply an
M:example of how to retreive an email from a POP account.
M:
M:Basically this
On Mon, 2 Sep 2002 at 06:20, Soheil Shaghaghi opined:
[snip]
SS:Now, here is what I am trying to get after the data is analyzed:
SS:All I want is to display a page that says Passed, or Failed with a message.
SS:
SS:Below is what I have so far:
SS:As you can see it's not completed yet, but I am no
On Mon, 2 Sep 2002 at 20:33, Alex Agerholm opined:
AA:Can anyone direct me to some good source code example, on how to password
AA:protect some CGI scripts.
AA:As I want the solution to be portable, I do not want to use .htaccess.
AA:I would prefer som code to make a login page and verify the use
On Mon, 2 Sep 2002 at 20:33, Alex Agerholm opined:
AA:Can anyone give me a good way to protect my Perl code. I am writing a
AA:CGI application in Perl that I am going to sell - therefore I would
AA:like to protect my code in such a way that it is not that easy to copy
AA:the code and reuse/resell
On Fri, 30 Aug 2002 at 10:32, Jimmy George opined:
JG:Is there any way of encrypting a credit card number etc. so that it can
JG:not be seen when being transmitted from desktop to server? The user
JG:needs to see what they type to make sure it is correct - so how do we
JG:get cgi to encrypt that
On 28 Aug 2002 at 18:41, Gfoo opined:
G:I', planning to use mod_perl for speed.
G:But... How can I keep the authentication routines I' ve written and have
G:mod_perl to help me? You mean configuring the server (apache) to handle
G:authentication by calling some perl code? Will this let me have
On Wed, 28 Aug 2002 at 15:46, Oleksiy Rudenko opined:
OR:Where could I as a beginner read more about mod_perl? Sources in plain
OR:English appreciated.
OR:Thanx.
perl.apache.org is a good place to start.
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PRO
On 28 Aug 2002 at 11:57, Gfoo opined:
G:I'm creating a web appication in Perl (and CGI).
G:I' ve written code that is used to create and read sessions (by using
G:cookies or GET http method) which are used after authenticating user logins
G:in a database.
G:The code for handing transitions and
On Tue, 27 Aug 2002 at 22:51, Wiggins d'Anconia opined:
[cur-snippity]
Wd:http://search.cpan.org/search?mode=all&query=sendmail
Wd:
Wd:Remember to throw comments back to the list as well, I would love to
Wd:hear what others think, does anyone disagree, should we cast aside the
Wd:module and go
On Tue, 20 Aug 2002 at 16:51, Bob Showalter opined:
BS:You're joking, right? Apache::DBI is completely useless under mod_cgi.
when i use it with ordinary cgi programs and postgresql (on linux) i
always see a pool of connections that remain active until httpd is
restarted or the child process(es)
On Tue, 20 Aug 2002 at 21:35, Hytham Shehab opined:
HS:hi guys,
HS:is it a must to use mod_perl to access all/some apache::* modules?, i
HS:mean, if i run normal perl and cgi scripts, i won't be able to access apache
HS:modules?
it's not necessary to use mod_perl.
for example, apache::dbi h
On Sun, 18 Aug 2002 at 01:13, Soheil Shaghaghi opined:
SS:Thanks Jim :)
SS:I've actually seen such scripts on the web, so I know it's possible.
SS:One thing that is not the job of this script is to actually look for server
SS:details. These should be determined by the user.
SS:
SS:Basically, the
On Thu, 15 Aug 2002 at 20:36, Patricia Gillard opined:
PG:Probably a simple problem, hopefully with a simple answer.
PG:
PG:I recently moved my web domain to a new host service and suddenly my scripts
PG:don't work. The scripts were ones I had downloaded from Matt's Script
PG:Archive, and they w
On Thu, 15 Aug 2002 at 16:37, Jim Lundeen opined:
JL:ok, i just setup a new server (redhat 7.3) and my guy says that the
JL:dbd/dbi stuff is configured for perl-to-mysql connectivity, but i get
JL:the following error message in my error log each time i try to run a
JL:script from either the comma
Kipp, James wrote:
> What is the best way to validate form data. I have a form which the user
> enters dates like '08/01/2002'. What is the best way to make sure this
> format is entered. Should i use javascript here or regex?
i had some free time, so i decided to finish up some thoughts i have
GsuLinuX wrote:
>
> I wanna check the information typed in the form field whether if it
> is in date format or not . Like : check it if it is in format
> day/mount/year , in format like ab/cd/ef or ab/cd/efgh "ab" must
> be valid like between 1-31 "cd" must be valid between 1-12 or must
> b
Scot Robnett wrote:
> I'm assuming your best bet would be to find the IP using the first line of a
> ping or traceroute and regex-ing out the extraneous stuff, then using
> 'whois -a' (which does an ARIN search) and extracting the 4th line to get
> the country.
>
> Anybody have any easier/faster
Hughes, Andrew wrote:
> I am having a problem making printf work correctly. The following line of
> code:
>
> printf("\$%4.2\n", $subtotal);
you're missing a field type option in your format statement.
printf "\$%4.2f\n", $subtotal;
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additio
Octavian Rasnita wrote:
>
> I've seen the following line in more Perl scripts and even in some Perl
> books, but it wasn't very well explained.
>
> $|=1; ## Don't buffer output
>
> What does it mean to buffer output?
> Which is the difference if the $| is 0 or 1?
perldoc perlfaq5
--
Bob Showalter wrote:
>>-Original Message-
>>From: Soheil Shaghaghi [mailto:[EMAIL PROTECTED]]
>>Sent: Thursday, July 18, 2002 2:48 PM
>>To: [EMAIL PROTECTED]
>>Subject: running tar from a browser
>>
>>
>>Hello everyone.
>>
>>Here is my problem, if anyone can please help me:
>>Running, Lin
Kerr Wall wrote:
> How does perl handle multiple requests. For example, if 10 users are
> logged into your system and they are all trying to use the same script,
> how does perl deal with this situation?
unless you're running mod_perl, a separete perl interpreter will start
for each request
Jim Lundeen wrote:
> I have the following in my HTML output:
>
>
>the message to actually show the active counter... 600 changes to 599,
> then 598, and so on...
there's a script available from http://javascript.internet.com that does
this very thing. i've used it and it works very we
Mike(mickalo)Blezien wrote:
> I am new to this list, so if this not the proper list to send this too, I would
> appreciate the name of the appropriate list.
it's not the correct list. this is a beginners-cgi list. i would
suggest the beginners mailing list. point your browser to learn.perl.
Maureen E Fischer wrote:
> Hello,
> Is there a way of varying the key fields in a where statement? I don't
i would suggest posting your questions on a more appropriate mailing list.
http://www.perl.com/pub/a/language/info/mailing-lists.html
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For
Max Clark wrote:
> I am trying to write a cgi program to "tail -f" a log file. I have a perl
> script that will open and print the log file, however it closes as soon as
> it reads whatever is in the file at that particular time. How do I mimic
> "tail -f" functionality?
try the qx// operator:
(not the exact duplicate of TPJ chuckmail
> but based on it). Is that correct? The mail server is exim.
dunno. i use procmail and sendmail. here's what i put in my
..procmailrc file:
:0:
*
| /home/fliptop/bin/filter.pl
this is off topic for a cgi mailing list, perhaps you should try ano
file to direct mail to my script. I have attempted to use find on
> the server without any luck.
put it in your home directory.
for example, my login is fliptop, and my home directory is
/home/fliptop
so i'd create the file
/home/fliptop/.forward
--
To unsubscribe, e-mail
1 - 100 of 337 matches
Mail list logo