> This is the piece of code that is giving me the problem I
> believe. It is the one that is supposed to check to make
> sure that a user enters a valid email address. When I
> comment it out, it works in both IE and NN.
>
> if ($FORM{'email'} !~ /[\w\-]+\@[\w\-]+\.[\w\-]+/) {
> dienice("P
Andrew Hughes wrote:
> I need help. I inherited this script that adds people to a text file for
> our mailing list. It works in Explorer. However, it does not work in
> Netscape. Valid email addresses are blocked and the subroutine dienice is
> called in Netscape. It is pretty short and sim
Hi David
You can create a random key to encrypt a password:
my $key = join '', ('.','/',0..9,'A'..'Z','a'..'z')[rand
64, rand 64];
(Took this from the book "Beginning Perl" by Simon Cozens)
Then you encrypt the password:
This is the piece of code that is giving me the problem I believe. It is
the one that is supposed to check to make sure that a user enters a valid
email address. When I comment it out, it works in both IE and NN.
if ($FORM{'email'} !~ /[\w\-]+\@[\w\-]+\.[\w\-]+/) {
dienice("Please enter a vali
Can you post some of the relevant code? (If it's long,
please consider putting it up as an HTML page and just
sending us the URL.)
Not that I'm promising I personally will have time to
look at it or know the answer...
--- "Hughes, Andrew" <[EMAIL PROTECTED]>
wrote:
> I need help. I inherited th
I'm sorry, I don't understand your question very well.
Can you give an example?
By "standard-Perl only", do you mean only using
modules that come with Perl?
--- Sven <[EMAIL PROTECTED]> wrote:
> Hello all!
>
> Can anyone give me a hint what I should do?
>
> I want to realize a search in the re
--- Camilo Gonzalez <[EMAIL PROTECTED]> wrote:
> Ovid,
>
> You're a god (or at least an erotic poet from Ancient Rome). That worked
> perfectly. I feel like such an idiot. Thanks for pointing out the obvious.
Camilo,
Heh :) At least *some* people appreciate the name "Ovid".
Don't feel like an
Hi,
Right now I am a little lost myself.
Trying to use crypt() to encrypt a given password.
I know how to compare a given password with an encrypted one, but to encrypt one
myself and save it, doesn't work for me for some reason.
You would say, Ah of course forgotten to give your encryption key
thx for the tip, but I don't have access to the error log (my ISP
doesn't allow it)
just found the problem... there was a typo some 75 lines above...
sorry for bothering you all
On Thursday, May 23, 2002, at 04:58 PM, Pablo A. Castrillo wrote:
> Sven:
> Have you checked your error log?
> I'm w
Sven:
Have you checked your error log?
I'm working with PostgreSQL but when I get no errors and no rows updated
I always find an error message in the log file (/var/log/httpd/error_log
in my RH 7.1 box).
Messages look like:
DBD::Pg::db do failed: ERROR: Bad boolean external
Ovid,
You're a god (or at least an erotic poet from Ancient Rome). That worked
perfectly. I feel like such an idiot. Thanks for pointing out the obvious.
How are you on scoping issues?
-Original Message-
From: Ovid [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, May 22, 2002 6:07 PM
To: Cami
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 newbie question' a
Please use meaningful subjects for your questions! Subjects like
'Another newbie question' and 'Yet another problem' are not meaningful.
(This problem seems to crop up every couple months:) )
Thank You
Robert Becker
[EMAIL PROTECTED]
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional
I need help. I inherited this script that adds people to a text file for
our mailing list. It works in Explorer. However, it does not work in
Netscape. Valid email addresses are blocked and the subroutine dienice is
called in Netscape. It is pretty short and simple. I do not have time to
rew
sorry, didn't mention it.
the assignment for the variables has been done above, in the main script.
On Thursday, May 23, 2002, at 02:13 PM, Felix Geerinckx wrote:
> on Thu, 23 May 2002 11:08:22 GMT, [EMAIL PROTECTED] (Sven
> Bentlage) wrote:
>
>> Hi everyone!
>> I'm getting desperate. Can't find
on Thu, 23 May 2002 11:33:37 GMT, [EMAIL PROTECTED] (Sven
Bentlage) wrote:
>> Secondly: Have you tried to "print" out the actually query to see
>> what it contains?
>
> not sure how to do that...
Instead of
$dbh->do("the sql-query");
write
$sql = "the sql-query";
on Thu, 23 May 2002 11:08:22 GMT, [EMAIL PROTECTED] (Sven
Bentlage) wrote:
> Hi everyone!
> I'm getting desperate. Can't find the error in the snibblet of
> code below...to me everything seems to be ok (except bad style
> etc), but the update of the mysql database does not work altought
> the s
On Thursday, May 23, 2002, at 01:22 PM, Svensson, B.A.T. (HKG) wrote:
> First of all: which error do you get?
>
Don't get any error at all. the next sub (see below) prints out the
correct values fetched from the form.
> If you don't get any error, are you sure that the target row as
>
Hi everyone!
I'm getting desperate. Can't find the error in the snibblet of code
below...to me everything seems to be ok (except bad style etc), but the
update of the mysql database does not work altought the sql statement is
should be definitely ok:
sub do_data {
my $dbc = DBI->connect( $ds
Hello all!
Can anyone give me a hint what I should do or a direction to go?
I want to realize a search in the results of a previous search. So I
need to name the users (ID) and store/pass the results.
1) How can I do this with standard-Perl only? (main question)
2) What would be the recommended
Hello all!
Can anyone give me a hint what I should do?
I want to realize a search in the results of a previous search. So I
need to name the users (ID) and store/pass the results.
1) How can I do this with standard-Perl only? (main question)
2) What would be the recommended way if no restrictio
21 matches
Mail list logo