Re: GD Graphs

2002-12-12 Thread Mike(mickako)Blezien
prowg/ http://www.oreilly.com/catalog/perlgp/ (December) http://danconia.org On Thu, 12 Dec 2002 09:39:41 -0600, "Mike(mickako)Blezien" <[EMAIL PROTECTED]> wrote: Hello, I am going to be working on a project, that will be utilizing the G

GD Graphs

2002-12-12 Thread Mike(mickako)Blezien
Hello, I am going to be working on a project, that will be utilizing the GD::Graphs module to create various graph reports. I was hoping that someone could point me to some good documentation or working examples of the uses of this module... of course I've been to CPAN, but was hoping to find m

Re: Retrieving POP email

2002-12-02 Thread Mike(mickako)Blezien
Ok, I see where I was going wrong, forgot to add the (MESSAGE_NUMBER) in the Body() while looping thru each email! thanks for all your help ;) Works fine now Happy Holidays >>Wiggins d'Anconia wrote: Haven't used the module myself, but see inline. Mike(mickako)Blezien wro

Re: Retrieving POP email

2002-12-02 Thread Mike(mickako)Blezien
les on CPAN as there are a number that handle the parsing of mail messages. http://search.cpan.org/author/SDOWD/POP3Client-2.12/POP3Client.pm http://danconia.org Mike(mickako)Blezien wrote: Hello all, I am currently working on retrieving a POP account that will have some stock quota data in i

Retrieving POP email

2002-12-02 Thread Mike(mickako)Blezien
Hello all, I am currently working on retrieving a POP account that will have some stock quota data in it for clients and sent out several times aday. I am using the use Mail::POP3Client module. All is working fine, except I need to strip out all but the body of the message, removing all the mai

multiple selection

2002-11-22 Thread Mike(mickako)Blezien
Hello all, having a problem with processing multiple selection from a scrolling list... first time working with tha scrolling list. Here is the test script I'm working with: #!/usr/local/bin/perl use CGI qw(:standard); $action = param('action'); print header(); print start_html(); if (!$actio

Convert IP address

2002-11-11 Thread Mike(mickako)Blezien
Hello, was wondering if there is a module or someone may know of a quick means of convering a IP address to a host/domain address. this is a snip of code we use to use, but I don't think it works very well any more: # Covert Host IP Address to domain name IE: [somedomain.com] $ip = remote_addr

Removing Folder/Files

2002-10-06 Thread Mike(mickako)Blezien
Hello, there was a dicussion earlier on this list about a module that removes folder and files similar to the `rm -rf` command line, but for the life of can't remember which modules does this, with some thing like rmtree(). thanks, -- MikeBlezien =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Thunde

Monitor a POP3 account

2002-09-03 Thread Mike(mickako)Blezien
Hello All, Need to come up with a script to monitor a special POP3 account that will be used to tigger another script.. was hoping someone could direct me or supply an example of how to retreive an email from a POP account. Basically this will automatically monitor the POP account via a cron job

Open new window.

2002-08-26 Thread Mike(mickako)Blezien
Hello all, this maybe bit off topic, but was hoping someone may have some suggestions. I have simple form that a person makes a selection from a drop box and we would like to open a new window, and resize it similar to using javascript(pop-up window), but can't really use javascript, because we

Re: mysql problem

2002-08-15 Thread Mike(mickako)Blezien
Jim Lundeen wrote: > ok, i just setup a new server (redhat 7.3) and my guy says that the > dbd/dbi stuff is configured for perl-to-mysql connectivity, but i get > the following error message in my error log each time i try to run a > script from either the command line or via the browser: > > ---

Re: database update

2002-08-15 Thread Mike(mickako)Blezien
Rob wrote: > > The following line works from a script run from the command line on the > server... > > $sql = "UPDATE data SET CustNo = $custNo, PIN = $pin, Notes = '$notes' > WHERE CustNo = $custNo and PIN = $pin and CustName = '$custName' and > Serial = '$serial'"; > > but when run from cgi I

Re: Better regrex method

2002-08-14 Thread Mike(mickako)Blezien
UM=>$2}} (@tags); > > # this print out the prefix/number pairs > foreach my $tag (@tags) { > print "PREFIX: ", $tag->{PRE}, "\n"; > print "NUMBER: ", $tag->{NUM}, "\n"; > print "\n"; > } > > Somet

Better regrex method

2002-08-14 Thread Mike(mickako)Blezien
Hello, I'm working on a project where I need to split various tag numbers, from a standard set of prefixes, entered into a form and check the number against a database. A sample test code that works, but was wondering if there's a better way to utilize the regrex of this code: # @tags similuate

Reformatting a file

2002-08-10 Thread Mike(mickako)Blezien
Hello all, I'm trying to correct some shopping cart files that got messed up and need to be reformatted, so we can rebuild the database from these text order files. This is a sample of some of the data: order_items::PF110::189.95::0.00::89.95:: ^^GG111::149.95::0.