Sounds like you want client-side PerlScript. As far as I know that is only
available for IE under Windows.
I guess the simplest method would be to submit the FORM to the validation
script via CGI and have that script either return an error or use a redirection
header to forward the request on
I would put this in a BEGIN block to make certain that the variables are
set before any other code is executed.
BEGIN {
$ENV{UNIX95} = "XPG4";
}
--
Simon Oliver
___
Perl-Unix-Users mailing list. To unsubscribe g
ing useful. Look
at the source to GD.pm:
sub GD::gif {
croak("GIF support has been disabled for legal reasons. Use PNG or JPEG
output");
}
Your script should have died with the above error after calling $gd->gif.
--
Simon Oliver
___
Perl-Unix-Users mailing list. To unsubscribe go to
http://listserv.ActiveState.com/mailman/subscribe/perl-unix-users
Boris Villazon wrote:
>
> Does anybody knows how can I manage sessions on Perl over Apache?
>
Without mod_perl try CGI-SecureState.ppd
With mod_perl use Apache::Session or Apache::ASP
--
Simon Oliver
___
Perl-Unix-Users mailing li
This might not be the most efficient method but it should work...
$URL = $ENV{'HTTP_POST'};
$URL =~ s/www\.//;
$URL = lc($URL);
--
Simon Oliver
Johnno wrote:
>
> Hello,
>
> What i am wanting to do is the following...
>
> $URL = $ENV{'HTTP_HOST'} ;
&
u need any amount of white space to be a single underscore:
$value =~ s/\s+/_/g;
See perldoc perlop and perldoc perlre
--
Simon Oliver
___
Perl-Unix-Users mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
ut if the system is idle for abt 30 mins.
>
I guess you are manageing your own sessions via cookies?
You need to resend (overwrite) the cookie on each access with a new expiry
value of +30M.
--
Simon Oliver
___
Perl-Unix-Users mailing list
ECTED])) {
print($var);
}
sub in {
my ($var, $array_ref) = @_;
my $count;
for (@$array_ref) {
$count++ if $var eq $_;
}
return $count;
}
--
Simon Oliver
___
Perl-Unix-Users mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
Simon Oliver wrote:
EXTERN Chakirov Timour (TZ CIS; DS/ESQ3) wrote:
Hello,
I know it's a dummy question, however I could not find a quick answer in
perl documentation.
So my question: is any form of "logical-IN" operator in perl? I.e. I
have a
scalar $var and a list @colors =
DBI itself - see the section on
Subclassing the DBI in the DBI man page.
The following thread discusses how/why DBIx-AnyDBD was integrated into the
DBI:
http://archive.develooper.com/[EMAIL PROTECTED]/msg00586.html
If you need more help I suggest you try the [EMAIL PROTECTED] mailing list.
10 matches
Mail list logo