The error occurs on initial call, so id should be empty be then. I
expect the routine to open a new session (see code below) if session_id
is empty - but it fails then.
==
my $dbh = dbConnect();
# Get value of url or cookie id if any.
my $sessio
My implementation of Apache::Session::MySQL dies along the way, and
gives
unclear warning.
[error] Died at
/usr/lib/perl5/site_perl/5.8.0/Apache/Session/Generate/MD5.pm
line 40.
I decided to implement session as a module call Store::Session, so as to
minimize recoding it in many script.
Babs
I'm working on a shopping cart, and yet to implement Apache::Session.
But before then, I have a question on how to populate a shopping cart
without the page reloading. Is there a way of achieving this using perl?
I believe it is possible to use JavaScript event-handler can be to keep
track of it
I'm trying to implement cgi sessions with Apache::Session and found
myself contemplating on a method to pass session id to my script.
I'll appreciate if someone experienced could help me out of that - by
giving any pros and cons on the following methods:
1. URL
2. Hidden fields
3.
: WC -Sx- Jones [mailto:[EMAIL PROTECTED]
Gesendet: Sonntag, 7. März 2004 16:08
An: B. Fongo
Cc: [EMAIL PROTECTED]
Betreff: Re: Any CPAN module for creating thumbnails?
B. Fongo wrote:
> I wander if here a way to create thumbnails using Perl?
>
> I want to implement functionality fo
Thanks for the link. I'll try Image::Magic::Thumbnail.
-Ursprüngliche Nachricht-
Von: WC -Sx- Jones [mailto:[EMAIL PROTECTED]
Gesendet: Sonntag, 7. März 2004 16:08
An: B. Fongo
Cc: [EMAIL PROTECTED]
Betreff: Re: Any CPAN module for creating thumbnails?
B. Fongo wrote:
> I wander
I wander if here a way to create thumbnails using Perl?
I want to implement functionality for my shop program to create a
thumbnail of product pictures.
A good instance of it may be that of eBay. Users can upload a picture of
any dimension for their listing. EBay will automatically create a
thumb
better.
Thanks to you all guys
Babs
-Ursprüngliche Nachricht-
Von: Wiggins d Anconia [mailto:[EMAIL PROTECTED]
Gesendet: Mittwoch, 18. Februar 2004 15:41
An: B. Fongo; [EMAIL PROTECTED]
Betreff: Re: AW: Need help to divert HTML print < Hello,
>
> Can you guys tell me on th
Hello,
Can you guys tell me on this piece of codes? It doesn't print the small
html codes in the sub below. No warning - nothing!
N.B. Don't bother about the html; just check my perl codes to see why I
doesn't print what I want.
Thanks
Babs
==
I tried to divert the output of print <$dirhandle\$file") || die "Can't create the html template:
$!";
# What may be wrong on the next line? Error warning: Use of
uninitialized value ..
print OUT <$title
EOF
Close OUT;
---
I tried to divert the output of print <$dirhandle\$file") || die "Can't create the html template:
$!";
# What may be wrong on the next line? Error warning: Use of
uninitialized value ..
print OUT <$title
EOF
Close OUT;
---
It's my first time to use sendmail. I want to my script to send a mail
to [EMAIL PROTECTED] or whoever is in the To: line. The script warns:"No
recipient name found in the header" and dies, even though there's a
recipient. I'm puzzled.
###
#!/usr/bin/perl -
I want to use mkdir(blah blah, o777), but want to first find out
whether the directory "blah blah" exists.
I'm not if the -e option will bw right here. Let's say:
unless (-e blah_blah) mkdir(blah_blah, 0777);
# Is this okay?
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional comm
I went back to my books to refresh my memory on how to use references. Your
suggestion help a lot, but the subroutine returns wrong values. I did
some small modifications on the codes below
, and tried it. It return perl-5.8.0-80.3.i386.rpm and
samba-2.2.7-5.8.0.i386.rpm, which is wrong because:
Hi
I'm writing a script that will connect to an ftp server (Redhat mirror),
and download new versions of all packages that are on my machine. First
of all, the script collects information about all the packages installed
on my machine in an array (installed_packages). Then its goes on to get
a
I'm quit confused with what I have below.
I have 2 database tables; Games and groups.
Name Group
#
John ,GroupA
Miler, GroupA
Peter, GroupB
Mathew, GroupB
Mark, GroupB
Luke, GroupA
I'm trying to select the members based on their groups and insert them
into a different table
Hello
An argument passed to a subroutine returns wrong value.
Code example:
@x = (1..5);
$x = @x;
showValue ($x); # or showValue (\$x);
sub showValue {
my $forwarded = @_;
print $forwarded; # print ${$forwarded};
}
In both cases, the script prints out 1.
What is going on here?
Hello
Below is a portion of a script that displays a table. The argument
passed by param() determines the number of rows the table should
display.
For some unknown reason, the value of param() seem to behave strangely.
It at times the value does not change; even if a different number is
sent as
Hello
Below is a portion of a script that displays a table. The argument
passed by param() determines the number of rows the table should
display.
For some unknown reason, the value of param() seem to behave strangely.
It at times the value does not change; even if a different number is
sent as
iles from one machine
to
another. And of course, you will need a FTP server for the machine
receiving the file.
Bye~
Yupapa
###
# Yupapa Web Hosting =^.^=
# Web Site - http://www.yupapa.com
# Email - [EMAIL PROTECTED]
###
"B. Fongo&qu
Hello,
I'm working on my first Perl project. Most of my cgi programs work ok,
but a look at the apache error log reveals this warning which is clear
to me:
Variable "$xy" will not stay shared at /data/www/cgi-perl/envir.pl line
19. [Wed Jul 16 11:44:57 2003] [error] Undefined subroutine
&Apache
Hi,
I've a small script intended for file transfer from a windows machine to
a remote linux server. To implement that, I decided to use two module
i.e File::Basename, File::Copy and CGI.pm.
The File::Copy is working well locally, but it fails to copy files to a
remote machine through the Browser
22 matches
Mail list logo