Re: any easy library to create a thumbnail

2003-09-12 Thread K Old
inputpath => "$src_dir/$file", outputpath => "$dest_dir/$file", ); } } HTH, Kevin -- K Old <[EMAIL PROTECTED]> -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: Test if browser's allows cookies/has them turned onetc..

2003-09-08 Thread K Old
is not available(IE one of the above > situatios) check for a cookie and if there is no cookie try to set one and simply > tell them they need cookies for their session to be remembered? > > Cool? Dan, Ever looked at HTML::Mason? Check out this article on how to display and hide session variables using httpd.conf (in conjunction with HTML::Mason of course). It's a great templating engine that runs on top of mod_perl. http://www.masonhq.com/user/adpacifico/ApacheSessionMason.html#uri%20tricks%20and%20mysql Also, the Mason Book is available online at http://www.masonbook.com HTH, Kevin -- K Old <[EMAIL PROTECTED]> -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Help please. What is missing?

2003-09-04 Thread K Old
7;1c'}++; or $inventory{$item}++; HTH, -- K Old <[EMAIL PROTECTED]> -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Storing encrypted data

2003-08-31 Thread K Old
be able to decrypt whatever the $ciphertext is? Basically I need to have a perl script accessable from the web, yet keep anyone on the server from from being able to view the $key. Does any of this make sense? Anyone have ideas? Thanks, Kevin -- K Old <[EMAIL PROTECTED]> -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: HTML Tags matching

2003-08-31 Thread K Old
is not properly working: > > while ( my $line = ) { > > if($line =~ m/^(||\t)(.*)(<|\t)/g) > { > print "Database = $2\n"; > } > > Thanks. Have a look at the HTML::Parser module at http://search.cpan.org/dist/HTML-Parser/ Hope this

Re: perl and tk

2003-08-29 Thread K Old
Hope this helps, Kevin -- K Old <[EMAIL PROTECTED]> -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: Mod_Perl2 CGI.pm

2003-08-29 Thread K Old
http://www.masonbook.com. The only book to get for MP1 & MP2 is at http://modperlbook.org Kevin -- K Old <[EMAIL PROTECTED]> -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Mod_Perl2 CGI.pm

2003-08-29 Thread K Old
ed in your web server. This lets you avoid the overhead of starting an external interpreter and avoids the penalty of Perl start-up time, giving you super-fast dynamic content. For HTML::Mason - have a look at masonhq.com. Kevin -- K Old <[EMAIL PROTECTED]> -- To unsubscribe, e-mail:

Re: HTML::Mason - Upload File

2003-08-29 Thread K Old
de for the taking. Go to the mailing list section at masonhq.com. I'm playing with the same thing myself and once I get something working I'll send you my code. Kevin -- K Old <[EMAIL PROTECTED]> -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: foreach debate (was "Re: -w vs. use warnings")

2003-08-29 Thread K Old
On Fri, 2003-08-29 at 08:21, David T-G wrote: > Kevin -- > > ...and then K Old said... > % > ... > % > % The posting a few weeks ago about "for" vs. "foreach" was interesting and got > % me thinking about warnings. > > That sounds really i

Re: Graphing/Plotting over time

2003-08-29 Thread K Old
ve me some ideas where to start? This worm spread > incredibly fast in our network, should be interesting to see it > charted. > > Tony -- K Old <[EMAIL PROTECTED]> -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

-w vs. use warnings

2003-08-28 Thread K Old
h" was interesting and got me thinking about warnings. One other item, Randal uses $|++; to "turn off the buffering for STDOUT". What exactly is buffering of standard output? Thanks, Kevin -- K Old <[EMAIL PROTECTED]> -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: File::Find

2003-08-28 Thread K Old
ww.stonehenge.com/merlyn/LinuxMag/col45.html http://www.stonehenge.com/merlyn/LinuxMag/col46.html Plenty of "recipes". Hope this helps, Kevin -- K Old <[EMAIL PROTECTED]> -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: grep with ftp

2003-08-28 Thread K Old
m|v|s].ic$/} $ftp->ls($path); foreach (@filelist) { print "$_\n"; $ftp->get($_) or warn "Net::FTP->get: couldn't get $_"; } #$ftp->get($file1); #$ftp->get($file2); $ftp->quit; Hope this helps, Kevin -- K Old <[EMAIL PROTECTED]> -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Parsing mbox file

2003-08-26 Thread K Old
OME DEAL X-Spam-Status: * I've looked at a few modules on CPAN, but haven't parsed mbox files before, and would like suggestions. From what I understand if I can just get every other message I'll get what I need. Any advice/suggestions? Thanks, Kevin -- K Old <

OT: Recover zip file via Archive::Zip

2003-08-14 Thread K Old
Read of /home/kdo/zimoNmjc failed While I'm still off topic and speaking of data recovery, has anyone every recovered data from a ext3 filesystem after all utilities have been tried to repair them? I've tried all the utilities off of freshmeat.net and nothing works. I've got bad bl

RE: Net::Telnet with username, no password - can't get past "password" prompt

2003-07-29 Thread K Old
On Tue, 2003-07-29 at 11:19, [EMAIL PROTECTED] wrote: > > On 29 Jul 2003 11:06:09 -0400, K Old <[EMAIL PROTECTED]> wrote: > > > Hello everyone, > > > > I'm trying to use Net::Telnet to connect to a ser

Net::Telnet with username, no password - can't get past "password" prompt

2003-07-29 Thread K Old
t need to test this as the TEST user. I've also tried to set the Prompt parameter when initializing the object like so: my $t = new Net::Telnet(Timeout => 30, Dump_Log => "/tmp/log-dump", Prompt => '/genii4 ?$/i'); Still no luck. Any help is appreciated... Kevin -- K Old <[EMAIL PROTECTED]> -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Sales Tax modules/scripts/resources?

2003-06-10 Thread K Old
vals. Has anyone faced this problem before? Any possible solutions that won't take a year to build? Any help is greatly appreciated! Kevin -- K Old <[EMAIL PROTECTED]> -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: call a windows application (.exe) via perl

2002-01-05 Thread K Old
I would assume you could just use either a system() or exec() call. Check the documentation on perldoc.com. One of them will wait until whatever program is running finishes and the return you to your perl program. Hope this helps, Kevin On Saturday 05 January 2002 04:42 am, mb wrote: > Hi,

Packages in CGI

2002-01-03 Thread K Old
Hello all, I have a few questions about using packages in CGI.  First, here is my situation.  I am creating a account management and billing set of scripts and want to modularize it.  I have most (if not all of the code) scattered among several .pl files and not necessarily in subroutines, b

Re: background process

2001-12-26 Thread K Old
Try either the system function (which will allow you to return to your program after your call to dtterm is finished) or the fork function. Hope this helps, Kevin On Wednesday 26 December 2001 10:56 pm, Ashish Srivastava wrote: > hi everybody, > > how can i run any command in background > like

System command via CGI not working....but should

2001-08-15 Thread K Old
Hello, I am trying to get a CGI script to run a system command.for example system `/usr/sbin/adduser larry' or die "User was not added" $?; I have this line in a script and have set Apache to be run as root (don't worry, all this is being done on a test box...I know the security risks) and

SSL script troubles

2001-06-22 Thread K Old
Hello, I cannot get the following script using Net::SSLeay and OpenSSL to work correctly. I would really like to print what post_https is sending to the screen before it is sent to the SSL server. Any ideas? #!/usr/local/bin/perl # # CHANGE THE ABOVE TO POINT TO PERL 5.004 ON YOUR SE

Print post_https

2001-06-21 Thread K Old
Hello, I'm using OpenSSL with Net::SSLeay and have a need to print the actual string that is being generated by the post_https() function. I have tried the following : print post_https($host, $port, $script, '', %form_data); I get 10 from doing this. I'd like to get the actual string that is b

Apache::ASP help

2001-05-31 Thread K Old
Hello everyone, I know that Apache::ASP might be a little off topic, but I don't really know anyplace else to ask this question that I'm sure I'll get a valid response. I'm using Apache::ASP and it works fine. What I'd like to do is use it and have some ASP code write to a Microsoft Access da

Problems with Net::SSLeay

2001-05-29 Thread K Old
Hello, I'm trying to use the Net::SSLeay module and am calling it like: use Net::SSLeay qw(post_https make_headers make_form); but I'm getting the following response at the command line. Can't load '/usr/local/lib/perl5/site_perl/5.6.0/i686-linux/auto/Net/SSLeay/SSLeay.so' for module Net