I solved the problem... not using OO-style, but function-style.
like this:
...
use Digest::MD5 qw(md5_hex);
...
$r->print( "$pw -> ".md5_hex($pw)."" );
...
*tadaa*
Alexander Blüm wrote:
hello
I ran into an odd problem, that I cannot explain to myself...
I use mod_perl 1.27 and apache 1.3.27
Sawsan Sarandah <[EMAIL PROTECTED]> wrote:
:
: Greetings,
:
: In a checkbox form, how can I change the
: attribute for the "label" text below to Arial
: instead of the default?
The is deprecated. Use stylesheets (CSS)
or use the 'style' attribute.
: $cgi->checkbox(-name=>'checkboxname',-v
Sawsan Sarandah wrote:
> Greetings,
>
> I have a small problem. When I create a cookie using cgi.pm, the
> expiration date is always three hours behind the actual time. In
> other words, the following code snipet:
>
> # Time on my local machine: 10:00 pm
> # Rhat Linux server using "date" comman
I'm not so experience using cookies with cgi but.
have you ever tried using single quotes??
'+4h'
Hope it helps.
-rm-
- Original Message -
From: "Sawsan Sarandah" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, July 11, 2003 3:13 PM
Subject: cookie expiration time problem
>
Greetings,
I have a small problem. When I create a cookie using cgi.pm, the expiration
date is always three hours behind the actual time. In other words, the
following code snipet:
# Time on my local machine: 10:00 pm
# Rhat Linux server using "date" command: Fri Jul 11 21:59:44 IDT 2003
# hwcloc
Sawsan Sarandah wrote:
> Greetings,
>
> In a checkbox form, how can I change the attribute for the "label"
> text below to Arial instead of the default?
>
> $cgi->checkbox(-name=>'checkboxname',-value=>'turned on',-label=>"I want
> Arial here");
As far as I know the label is not part of the
hello
I ran into an odd problem, that I cannot explain to myself...
I use mod_perl 1.27 and apache 1.3.27... the commandline script works
perfectly:
perl -mDigest::MD5 -we 'print new Digest::MD5->md5_hex("lol")."\n"'
returns "fe5608e20902819328733f5e672b6af6" each time I run the script.
ok... I
"Dennis Stout" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> ARHG.
>
> I want to stay as far away from use CGI; as possible =/
>
> *sigh*
>
> mod_perl and the methods available in the apache request object shuold
beable
> to replace CGI.pm entirely, especially when you have a highl
Please don't top post.
On Thu, 10 Jul 2003 18:42:45 -0600, "Gregg R. Allen" <[EMAIL PROTECTED]> wrote:
>
> If you don't mind escaping to the shell, this is how I get a list of
> files I want to ftp.
>
>
> #This returns a list of files to be ftp
Dennis Stout wrote:
> ARHG.
>
> I want to stay as far away from use CGI; as possible =/
Why?
>
> *sigh*
>
> mod_perl and the methods available in the apache request object
> shuold beable to replace CGI.pm entirely, especially when you have a
> highly customized RequestHandler :/
I think this
If you don't mind escaping to the shell, this is how I get a list of
files I want to ftp.
#This returns a list of files to be ftp'ed
my $files = `ls`;
#turn the files variable into an array of file names.
my @ftpfiles = split(/\n/ , $files);
Sincerely,
Gregg R. Allen
I.T. Specialist
Lexington
CGI.pm does the trick for me, the multi values are seperated by \0
< select name="yadda" multi>
yadda1
yadda2
yadda3
my $CGI = new CGI();
%form_data = $CGI->Vars;
@options = split("\0",$form_data{'yadda'});
$options[0] = yadda1, $options[1] = yadda2 etc .
Not usable live code obviously
12 matches
Mail list logo