I need help with getting a form for my church's website to work. Can
someone help me with the code to send the information to my email. I
would appreciate any input.
--
To unsubscribe, e-mail: beginners-cgi-unsubscr...@perl.org
For additional commands, e-mail: beginners-cgi-h...@perl.org
http:
!
Kevin
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>
(until the bad guy
writes a cleverer script). But what about the submission process? How to
stop someone from scripting 2,000+ form submissions? (If at all)
-K
--
Kevin Pfeiffer
International University Bremen
A: Because it messes up the order in which people normally read text.
Q: Why is top-postin
be "This Input Is In All Caps"
>
> TIA,
>
> Sara.
perldoc -q capital might help.
--
Kevin Pfeiffer
International University Bremen
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
In article <[EMAIL PROTECTED]>, Octavian Rasnita
wrote:
> Can you tell me how to define a cron job that is executed each hour?
> Thank you.
10 0-23 * * * echo "run 10 minutes after the hour, every hour, everyday"
man 5 crontab
--
Kevin Pfeiffer
International Uni
> Hello,
>
> is there a way of finding out, which modules are installed on a remote
> machine using a script?
>
> there's this scenario:
>
> I will have a website up soon, with CGI's - but I don't know, what
> modules are installed... so I'd write a script, that shows / lists all
> available
Some places around the world, it is April 1 ;-)
On Mon, Mar 31, 2003 at 07:47:47PM -0500, Hughes, Andrew ([EMAIL PROTECTED]) said
something similar to:
> I just got it as well. If you click on the MSA logo, it takes you to this
> page http://www.cpan.org/index2.html
>
> What's going on?
>
> An
nt to miss anything
That's what IRC is for :)
Cheers,
Kevin
>
> -Original Message-
> From: Randal L. Schwartz [mailto:[EMAIL PROTECTED]
> Sent: Friday, March 28, 2003 8:44 PM
> To: [EMAIL PROTECTED]; Cool Hand Luke
> Subject: Re: The very un-useful 'p
Blatant and shameless self-promotion.. see my sig.. :)
On Mon, Mar 17, 2003 at 05:30:44PM -0500, Bob X ([EMAIL PROTECTED]) said something
similar to:
> What is the best book for a beginner to get started with on Perl and CGI?
>
> Bob
--
[Writing CGI Applications with Perl - http://perlcgi-book
website
to learn more, and _to register_. If anyone has any questions, feel
free to email me off-list.
Cheers,
Kevin
--
[Writing CGI Applications with Perl - http://perlcgi-book.com]
"BASIC is the Computer Science equivalent of `Scientific Creationism'."
-- BSD fortune file
--
To
ash's
values.
In all these cases, the prefixed "sigils" consistently describe
the data type ultimately expressed, rather than the data type of
the originating variable's data structure.
Kevin
-- Original Message --
From: "Octa
Apache. I am limited in the sense that mod_perl is not available. Can this
be done without mod_perl? Please keep in mind that the username / password
are stored in a mySQL table?
Any comments are appreciated.
-Kevin
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail
Read the docs for CGI.pm
perldoc CGI
Cheers,
Kevin
On Sat, Oct 05, 2002 at 07:33:33PM +0200, Vincent van Kuler ([EMAIL PROTECTED]) said
something similar to:
> How can I get the selected items from a
>
> Example:
>
>
>
> Selected
> Component
URI::Escape can do this for you.
# perl -MURI::Escape -e 'print \
uri_unescape("%D7%91%D7%A8%D7%99%D7%AA")' > esc.txt
The contents of esc.txt:
\xd7\x91\xd7\xa8\xd7\x99\xd7\xaa
Do what you need to with the output.
Cheers,
Kevin
On Sat, Oct 05, 2002 at 08:25:31
Hello,
I need to progrmatically decode the following UTF-8 data via CGI:
q=%D7%91%D7%A8%D7%99%D7%AA
Can this be done?
-Kevin
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Hello,
How can I save a CGI session to a db. I have only seen an example to a
filehandle in the documentation.
$query->save(FILEHANDLE)
Thanks.
--Kevin
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
tralia and
much of Africa.)
Having a -2, -3, etc... are other extended Latin charsets which add
more glyphs. For example, Latin5 (ISO-8859-5) covers Cyrillic, which is
not a part of ISO-8869-1. So, although ISO-8859-1 is usually a default,
it doesn't mean you are typing/getting plain English.
Ch
tle if you don't find a lang="foo" tag.
Cheers,
Kevin
On Sun, Sep 08, 2002 at 08:05:18AM +0300, Octavian Rasnita ([EMAIL PROTECTED]) said
something similar to:
> Hi all,
>
> I want to create a search engine. Please tell me how can I find out the
> languages used in a w
This message is being redirected to the beginners-cgi list. Please
answer on that list, and to the original poster. Thanks.
Cheers,
Kevin
On Mon, Aug 19, 2002 at 04:11:14PM +0100, Matt Wetherill ([EMAIL PROTECTED])
said something similar to:
> Hi list,
>
> I'm just trying to ge
post something to, read the FAQ of the
list (on http://learn.perl.org/, and also posted here weekly) and make
an educated guess of which _one_ to post to.
Thanks for your cooperation.
Cheers,
Kevin
On Fri, Aug 16, 2002 at 11:38:12PM +0800, Connie Chan ([EMAIL PROTECTED]) said
something simil
Easy way to check is:
perl -MDBD::mysql -e1
Cheers,
Kevin
On Thu, Aug 15, 2002 at 03:44:23PM -0500, Mike(mickako)Blezien ([EMAIL PROTECTED])
said something similar to:
> Jim Lundeen wrote:
> > ok, i just setup a new server (redhat 7.3) and my guy says that the
> > dbd/dbi stuf
Well, what exactly is the value of $av_equip and $date_slide at this
time? Add a few print statments in for debugging, use CGI::dump() to
see what is really being passed in. You may not be storing the values
you expect in these variables.
Cheers,
Kevin
On Wed, Aug 14, 2002 at 09:28:22AM -0700
am('send_to');
>
> # E-mail answers:
>
> $date = localtime();
> if (open(MAIL, ">$tempfile")) {
> print MAIL < To: $send_to
> From: $send_to
> Subject: AV Request Form
Please look at one of the Mail::* modules, or MIME::Lite for sending
email.
Che
h unsubscribing, you should send an email to
[EMAIL PROTECTED], me ([EMAIL PROTECTED]), or Ask
([EMAIL PROTECTED]) with a) what you have tried, and b) what email address
you want taken off.
Cheers,
Kevin
--
[Writing CGI Applications with Perl - http://perlcgi-book.com]
"When a man sits with
Is any of this relevent to this list? I don't think so. Again, please stay on
topic.
Cheers,
Kevin
On Fri, Jun 07, 2002 at 10:51:57AM -0700, drieux ([EMAIL PROTECTED]) said something
similar to:
>
> volks,
>
> this is probably more an ethical question
> than a technical q
Janek:
Thank you for explaining the difference between calling
subroutines with vs. without the ampersand.
I'm glad I'm on the beginners list.
Sincerely,
Kevin Christopher
-- Original Message --
From: Camilo Gonzalez <[EMAIL PROTECTED
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
Yes, you can call subroutines either way, with or without the "&".
The only case when the subroutine must be prefixed with an
ampersand is, I believe, when you're assigning a reference
variable, eg:
$reference_x = \&subroutine_y;
But that's another story.
Kevin
(http://learn.perl.org).
Cheers,
Kevin
On Tue, Jun 04, 2002 at 10:36:55AM -0700, drieux ([EMAIL PROTECTED]) said something
similar to:
>
> let f(x) be a boolean function that establishes
> whether or not topic x is a matter of 'religion'
> more than
I was just catching up on this thread, and see that it has spiraled out
of the realm of 'on topic' for this list. Please consider this thread
closed, and take it off-list if needed. Thanks for your cooperation.
Cheers,
Kevin
--
[Writing CGI Applications with Perl - http://perlcgi-bo
Type:
man cat
Cheers,
Kevin
On Mon, Jun 03, 2002 at 08:54:34AM -0500, Camilo Gonzalez
([EMAIL PROTECTED]) said something similar to:
> I see the word 'cat' being used an awful lot lately here and have
> encountered it in other readings. What is cat and what is it used for?
&
You need to have -T on the command line as well:
perl -cT script
To find out why, 'perldoc perlsec'
Cheers,
Kevin
On Wed, May 29, 2002 at 10:51:45AM -0700, Rob Roudebush ([EMAIL PROTECTED]) said
something similar to:
>
> When I run perl -c myscript.cgi to test the syntax or
is your problem?
>
> In the indicated if condition below you are allways assigning 1 to
> $confirm_counter instead of comparing it to 1. Should be:
>
> if($confirm_counter=="1") {
> ...
> }
>
You don't need the quotes if you are doing a numeric check.
Or, to restate this, read the list FAQ :)
http://learn.perl.org/beginners-cgi-faq
Cheers,
Kevin
On Thu, May 23, 2002 at 08:25:53AM -0500, Robert Becker ([EMAIL PROTECTED]) said
something similar to:
> Please use meaningful subjects for your questions! Subjects like
> 'Another newb
Yay us! (I work for Verio)
Cheers,
Kevin
On Wed, May 15, 2002 at 08:40:45AM -0500, Camilo Gonzalez
([EMAIL PROTECTED]) said something similar to:
> Verio, the world's largest ISP.
>
> Can you please tell me which ISP this is. I'm tring to keep a list of
> ISPs that hav
Try with only 1 \n.. try using MIME::Lite to form the email properly
(which I mentioned before). I have no problems doing this with
MIME::Lite.
Cheers,
Kevin
PS. try trimming any text from replies which have nothing to do with
the reply itself.
On Tue, May 14, 2002 at 04:09:29PM -0500, Camilo
You need a Content-Type header.
Content-Type: text/html; charset="iso-8859-1"
(or whatever your charset is)
Cheers,
Kevin
On Tue, May 14, 2002 at 04:28:44PM +0300, messag from ESS ([EMAIL PROTECTED]) said
something similar to:
> hi all
> I konw you havn't much time then I
xplicitly given.
To create more robust emails, look into MIME::Lite, or some such
modules. For the web-based email system I wrote, I use MIME::Lite and
all is happy.
Cheers,
Kevin
On Tue, May 14, 2002 at 05:54:47PM +0300, messag from ESS ([EMAIL PROTECTED]) said
something similar to:
> Thanks
oduction code. But, hey..
I live in a fantasy world where production code is reviewed, tested,
portable, and uses common practices :)
Cheers,
Kevin (from Kevtopia)
> Kevin Meltzer wrote:
> >
> > On Mon, May 13, 2002 at 09:14:03AM -0700, drieux ([EMAIL PROTECTED]) said
>something
stion :)
BTW folks, please do not turn this into an ever-going Matt bashing
thread.. or I will be forced to close it (trying to be preventative
here).
Cheers,
Kevin
On Mon, May 13, 2002 at 01:45:06PM -0700, Michael Kelly ([EMAIL PROTECTED]) said
something similar to:
> Ok, I have a questio
t; has there been some new issue arise??? since then?
Does it matter? They are scripts by Matt.. recurring security issues,
and (unless he has done some MAJOR reworking) they are written in Perl
4. Why would anyone want to run these in production?
Cheers,
Kevin
--
[Writing CGI Applications with Per
try the rewrite from NMS:
http://nms-cgi.sourceforge.net/
Cheers,
Kevin
On Mon, May 13, 2002 at 10:07:54AM -0500, Camilo Gonzalez
([EMAIL PROTECTED]) said something similar to:
> I've just been informned by my ISP that Matt Wright's formMail will no
> longer be allowed on any
I installed Perl 5.6.1 and now none of my Perl programs run. It would appear
that my @INC directive is being ignored. None of my scripts find strict.pm,
vars.pm, or any .pm for that matter. How can I fix this?
Thanks,
Kevin Q.
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional
Perl so please be specific.
Thank You,
Kevin Q.
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Ok, how would I do that? I am new to all of this perl/cgi stuff, sorry for
what I am sure is a moronic question.
-Kevin
-Original Message-
From: Scot Robnett [mailto:[EMAIL PROTECTED]]
Sent: Sunday, April 07, 2002 11:42 AM
To: [EMAIL PROTECTED]; 'mailing list'
Subject: RE:
ndows moment).
Thanks for any advice you might have,
Kevin Queen
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
perl -wle 'print $_ . "\n" for @INC';
And, after you have read perlsec (why do I always type that as perlsex
first?) you will be able to know why :
perl -Twle 'print $_ . "\n" for @INC';
Gives slightly different output.
Cheers,
Kevin
On Wed, Apr 03, 2
Hello,
I am redirecting this question from beginners-cgi to beginners. Please respond
to the original poster ([EMAIL PROTECTED]) and the beginners list. Please
remember that non-CGI related questions should not be send to beginners-cgi.
Thanks.
Cheers,
Kevin
On Wed, Feb 20, 2002 at 01:13:55PM
o the list. Please read the list
FAQ on posting guidlines.
Unless you have an actual answer for the original poster, do not respond to
this thread. Thanks for your cooperation.
Cheers,
Kevin
--
[Writing CGI Applications with Perl - http://perlcgi-book.com]
It looks just like a Telefunken
man cron
Cheers,
Kevin
On Tue, Jan 08, 2002 at 08:07:04AM -0600, Camilo Gonzalez
([EMAIL PROTECTED]) said something similar to:
> Unix IRIX
>
> -Original Message-
> From: Matthew Keen [mailto:[EMAIL PROTECTED]]
> Sent: Monday, January 07, 2002 7:28 PM
> To: 'C
ue($field, $name, $val);
}
So it passes the hyperlink value $word and that is suppose to query the db.
It works for:
look_for_this_file
but not for:
look for this file
Thanks,
Kevin
That is in the FAQ, which everyone should have read, and shouldn't need to be said
on the list. Actually, I seem to have left it out of the beginners-cgi FAQ and
will add it in. For those of you only on the beginners-cgi list, until it is in
the FAQ, have useful subjects :)
Cheers,
Kevin
O
gi' list in order to handle the Perl/CGI related questions.
When posting, please post to the relevant list *only*. Thanks for your
cooperation.
Cheers,
Kevin
--
[Writing CGI Applications with Perl - http://perlcgi-book.com]
I keep looking for the "Crash after viewing X pages" settin
That would still not work. You are putting the cart before the horse, or
rather, the filename before the filehandle.
open(FH, "file.txt") ...
perldoc -f open
perldoc perlopentut
Cheers,
Kevin
On Mon, Dec 10, 2001 at 05:35:14PM -0600, Herbold, John W.
([EMAIL PROTECTED]) said
A
small FreeBSD (Linux, etc...) box running SendMail or Postfix (what I use)
outside of the web server is pretty logical.
Cheers,
Kevin
--
[Writing CGI Applications with Perl - http://perlcgi-book.com]
Never laugh at a live dragon.
-- The Hobbit
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Hi folks. I was hoping this would die out gracefully, but alas it has not.
Let's consider this thread CLOSED and move on. Thanks for your cooperation.
Cheers,
Kevin
On Mon, Dec 03, 2001 at 11:23:39AM -0800, Curtis Poe ([EMAIL PROTECTED]) said something
similar to:
> End this thread
Hi Nate,
Take a look at these modules and see if any will do what you want:
http://search.cpan.org/search?mode=module&query=Weather
Cheers,
Kevin
On Mon, Nov 19, 2001 at 01:11:39PM -0800, Nate ([EMAIL PROTECTED]) said something
similar to:
> just a quick question,
>
> im would
ists which you
can find on lists.perl.org. Hope this helps, some more detail of what you are
looking to do with Perl and XML could likely help us steer you in the right
direction.
Cheers,
Kevin
On Wed, Oct 17, 2001 at 05:18:13PM -0500, Art Saucedo ([EMAIL PROTECTED]) said
something similar to:
This thread has been closed. Take it off-list. Everyone chiming in with their
$.02 will not solve anything, and does not help the signal/noise ratio of the
list. Thank you for your cooperation.
Cheers,
Kevin
On Thu, Oct 11, 2001 at 01:26:06PM -0400, aurillo, gabriel ([EMAIL PROTECTED])
said
This thread is closed. Take it elsewhere.
Cheers,
Kevin
On Wed, Oct 10, 2001 at 04:43:25PM -0700, Dean Theophilou ([EMAIL PROTECTED])
said something similar to:
> "Jack ass" has 3 meanings.
>
> 1) Another word for a donkey;
> 2) A derogatory reference to someone w
an ass by cussing at people on a mailing list will not get
anyone anywhere. Act like adults people.
Cheers,
Kevin
On Wed, Oct 10, 2001 at 09:40:44AM -0700, [EMAIL PROTECTED]
([EMAIL PROTECTED]) said something similar to:
> hey, the guy is having a hard time unsubscribing from the list. lay o
- Forwarded message from Kevin Meltzer <[EMAIL PROTECTED]> -
I am redirecting this to the cgi-beginners list, which is more appropriate.
Please send responses to the sender (Edd Dawson <[EMAIL PROTECTED]>) and
the cgi-beginners list. Thanks.
Cheers,
Kevin
On Tue, Oct 09, 2
I meant to alter the PDF with a signature, silly.
Cheers,
Kevin
On Wed, Oct 03, 2001 at 12:37:55PM -0700, Curtis Poe ([EMAIL PROTECTED]) said something
similar to:
>
> Well, okay :)
>
> use strict;
> use HTTP::Request::Common qw/POST/;
> use LWP::UserAgent;
>
ck on topic?
Please do. The petition being discussed on the list is very OT, as well as
bordering on inappropriate. But, if you can come up with a way to sign it using
Perl :)
Cheers,
Kevin
--
[Writing CGI Applications with Perl - http://perlcgi-book.com]
"If affirmative action means wha
Hi Shannon,
Very close. You are allowed to use a pattern in a split.
my @codes = split(/\s+/,$all_codes);
Should give you what you want. This will split the string on 1 or more spaces.
Look at 'perldoc -f split' for more information.
Cheers,
Kevin
On Wed, Oct 03, 2001 at 09:47:
On Wed, Sep 26, 2001 at 09:17:37AM +0200, Sawsan Sarandah ([EMAIL PROTECTED]) said
something similar to:
> I own the following CGI/Perl books:
>
> Writing CGI Applications with Perl
> by Kevin Meltzer, Brent Michalski (Paperback)
> -- primitive, doesn't talk much about cgi.p
CPAN? If you have
the LWP modules installed, look at the lwpcook documentation.
Cheers,
Kevin
--
[Writing CGI Applications with Perl - http://perlcgi-book.com]
There ain't nothin' in this world that's worth being a snot over.
--Larry Wall in <[EMAIL PROTECTED]&g
o a DBM file each time the program runs and retrieving them as I
need to. Because it is a DBM file it handles the duplicate value problem and
just updates the value. It seems to be working, doesn't seem very efficient
so I will look at all options.
Thanks for the feedback.
Cheers
Kevin
individually
but it sounds like there must be an easier way?
What am I missing? Are there any resources that do not just rehash this
example? I have found a few but they all show the same example.
Thanks for any help.
Kevin
Program run first time.
#!/usr/bin/perl
use CGI;
open (OUT,">&
Hi Dave
Please do post all feedback to the list so we can all benefit.
Thanks
Kevin
>
> I am particularly interested in feedback about:
> Any common newbie blunders you may find
> Security issues
> Specific areas where the code could be more
> efficient
> A
Hi
Thanks for the answer. It clears up a lot, now the question is how? I have
tried passing the object but cannot sort the syntax. I wil now go play with
creating a new object as well but I would have expected that to not contain
the data I want. Easy enough to test.
Thanks
Kevin
Modules
philosophy of scope rather that just the mechanics of what it
is?
Thanks for any pointers
Kevin
;t be available.
Thanks for the link it explains very clearly what it is. It does not solve
my problem though.
I have two scripts both on the same server, both in the same directory
even. One has access to the UNIQUE_ID and the other does not. If it is
magically part of the environment why cannot both scripts use it?
Thanks
Kevin
alue.
Why?
Thanks
Kevin
I am redirecting this question to the beginners-cgi list. Please respond to the
original poster ([EMAIL PROTECTED]) and the beginners-cgi list, not
the beginners list. Thank
you.
Cheers,
Kevin
On Tue, Jun 12, 2001 at 04:23:47PM -0600, T&R Customer Service
([EMAIL PROTECTED]) spew-ed f
75 matches
Mail list logo