Re: CPU load/server resources.

2004-07-14 Thread Alexander Blüm
On Tue, 13 Jul 2004 15:30:36 -0600 "Wiggins d Anconia" <[EMAIL PROTECTED]> wrote: > > > > I had a script for which my previous host cancelled my account > > saying > it's a resource hog and using more than 50% resources of the server > (shared hosting). > > > > Yep, there were some faults in the

Re: Extracting links. - without modules

2005-01-17 Thread Alexander Blüm
On Sun, 16 Jan 2005 18:36:09 +0500 "Sara" <[EMAIL PROTECTED]> wrote: > I am trying to extract links along with HTML tags from a > list, but it's not working on my XP machine with Active State Perl > 5.0.6 Kindly help. > > # CODE START > > my @array = qq| > h

disabling the use of browser history

2003-07-05 Thread Alexander Blüm
hello!!! I'm writing a database frontend based on perl-CGI. Each query is being cached in a file with the current session-ID. The reason for this doing is that some queries do take a very long time to process and have a large output. If I want to see the next 50 results using the SQL 'LIMIT' a

Re: Re: disabling the use of browser history

2003-07-06 Thread Alexander Blüm
erent story... well, I followed the access log, and when I do go back and forth, there are really no "GET"'s nor "POST"'s - the browser still chaches the data... are there other ways? ----- Original Message - From: "Greenhalgh David" <[EMAIL PROTECTE

md5

2003-07-11 Thread Alexander Blüm
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

Re: md5

2003-07-11 Thread Alexander Blüm
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 us

Re: Date to seconds

2003-09-11 Thread Alexander Blüm
Li, Kit-Wing wrote: Hi, Does anybody know of a quick method in perl to turn a date string into its equivalent in seconds, include milliseconds if possible? > Ex: 20030910 13:50:25.6 to 1063202644. Thanks much! starting when? I mean, you 1063202644 seconds, and these are 33years : 37weeks : 01d

remote host name

2003-09-14 Thread Alexander Blüm
hello, as my subject indicates, I'm looking for a way of resolving the remote hostname. any system command will do too... I'm planning to write a small script that simply tells the connecting user, which DNS name he has, since my localnet is equipped with a dhcp server the clients usually get

Re: Include Files in Perl?

2004-02-03 Thread Alexander Blüm
that doesn't sound too good. sounds like loading all into memory, split it up into arrays and then finally printing the contents to the browser. bleh! how aout this: #somewhere in the code: &include("/includes/header.html"); ... &include("/includes/footer.html"); ### subroutine sub include{ my

Re: CGI Script to annoy script kiddies.

2004-02-06 Thread Alexander Blüm
NICE!!! I really like this! I'm not sure about security - but it seems fairly safe, since no real system interaction is implemented... nice, real nice script - I'll have some fun with it ;) BUT, the logs will grow... On Thu, 5 Feb 2004 15:46:55 -0500 Carl Fischer <[EMAIL PROTECTED]> wrote:

Re: Data encryption

2004-05-14 Thread Alexander Blüm
On Fri, 14 May 2004 09:25:27 +0100 David Dorward <[EMAIL PROTECTED]> wrote: > On 14 May 2004, at 08:33, Werner wrote: > > I've got a form that makes use of the GET method to provide the cgi > > script with details. My problem is that you can see all of the > > fields being posted. i.e. > > > > /