Re: File uploading

2003-07-18 Thread Mike
FILESIZE is some function to get the size of a file)... if (( FILESIZE (@pic_filenames[0]) 1024*100) || (FILESIZE (@pic_filenames[1]) 1024*80)) { # print error message here } Thanks in advance, Mike. On Fri, 18 Jul 2003 at 12:03, Mike Harrison opined: MH:I have a perl program

File existence under Microsoft IIS

2003-09-05 Thread Mike
, wouldn't the server spit out an error that it didn't understand -e? Are there similar (but different) file tests for IIS? Thanks in advance, Mike.

Re: File existence under Microsoft IIS

2003-09-06 Thread Mike
that is the 'correct' way of doing it I am not sure, but it seems to be the only combination I have tried that works. Cheers, Mike. - Original Message - From: Hanson, Rob [EMAIL PROTECTED] To: 'Mike' [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Saturday, September 06, 2003 11:23 AM Subject: RE

section 508 compliance to Perl-generated forms?

2008-08-15 Thread mike
Hello, I have a number of Perl CGI scripts that generate html forms that need to be made 'Section 508' compliant. I have combed CPAN and perldoc but haven't been able to find any way to do this, e.g. with a module. Can anyone send me in the proper direction? Thanks very much. Mike

RE: SMTP e-mail attachment?

2001-08-01 Thread Mike Parsons
- Original Message - From: Mike Parsons To: Helen Dickey Sent: 8/1/2001 1:53:05 PM Subject: RE: SMTP e-mail attachment? Hi, I am VERY new to all this, but if the HTML is sent in code form to your friend, can't she Copy and Paste the code to her notebook, save

IE and HTTP_REFERER

2001-08-22 Thread Mike Breeze
and HTTP_USER_AGENT directly so they are fine. Without getting into any slinging matches, I'm wondering whether there is any way to get around this without having to turn all my static html pages into CGI. Cheers Mike -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail

RE: How does Apache invoke Perl interpreter: OT please don't reply

2001-08-23 Thread Mike Rapuano
test -Original Message- From: Qichao Dong (Leon) [mailto:[EMAIL PROTECTED]] Sent: Thursday, August 23, 2001 2:21 PM To: [EMAIL PROTECTED] Subject: How does Apache invoke Perl interpreter Hi, I want to do some research on Perl's transplantability, so I would like to know how an Apache

RE: accessing yahoo mail through text mode/shell

2001-11-29 Thread Mike Laborde
but it's mainly fairly reliable. My domain/web site offers free POP3 e-mail accounts, too. I'm not going to hawk my site here so anyone who wants one can e-mail me privately for more information. One word of warning: You SPAM with it and you get dropped like a turd in an operating room. Mike

RE: What database would your recommend?

2002-06-07 Thread Mike Rapuano
Camilo -- If you've done any research at all you would know that learning perl will not make you less marketable. And if I were you, I would not Marry myself to one scripting language;) Mike -Original Message- From: Camilo Gonzalez Sent: Fri 6

RE: testing CGI without webserver on NT?

2002-06-10 Thread Mike Rapuano
HI -- You need to execute the perl script. Change the permissions in IIS to execute BUT make sure that you don't have write set as well;) Mike -Original Message- From: Alaric J. Hammell Sent: Mon 6/10/2002 4:09 PM To: [EMAIL PROTECTED

RE: Rounding a number

2002-09-12 Thread Mike Craig
Hi, Unless I have missed exactly what you need, this should work take the int of Snum + 1 Mike Craig www.UltraTextPro.biz -Original Message- From: Bob Showalter [mailto:[EMAIL PROTECTED]] Sent: Thursday, September 12, 2002 4:42 PM To: 'Octavian Rasnita'; [EMAIL PROTECTED] Subject

How can I call a Perl function from HTML?

2002-09-19 Thread Mike Craig
){ if (SomeFunctionInJs(SomeString)) //Some test return true; else return false; } //-- /SCRIPT Best regards Mike Craig -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

Encoding text

2002-09-22 Thread Mike Craig
chars into hex encoding %?? My quess was to try and convert all chars that are not normal chars but I am not sure how to do this. Your suggestions will be appreciated. Best regards Mike -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail

Cookies and IP Addresses

2002-10-03 Thread Mike Craig
= + cookieDate.toGMTString() + ;domain=.UltraTextPro.biz); Mike -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Ping Results

2003-01-30 Thread Mike Blezien
Hello all, trying to put together a simple 'ping' display via the browser... and not having any luck... how does one get the results of a ping to diplay the results properly ?? Sample code: === #!/usr/bin/perl use CGI qw(:standard); use strict; my

display Ping Results

2003-01-30 Thread Mike Blezien
Hello all, trying to put together a simple 'ping' display via the browser... and not having any luck... how does one get the results of a ping to diplay the results properly ?? Sample code: === #!/usr/bin/perl use CGI qw(:standard); use strict; my

Re: Ping Results

2003-01-30 Thread Mike Blezien
thanks, that may do the trick.. fliptop wrote: On Thu, 30 Jan 2003 at 08:33, Mike Blezien opined: MB:trying to put together a simple 'ping' display via the browser... and MB:not having any luck... how does one get the results of a ping to diplay MB:the results properly ?? http

RE: Problems getting a simple form to work.

2003-04-04 Thread Mike Butler
/simpleform.cgi;. I am still getting the 500 error. Thanks, - Mike -Original Message- From: Li Ngok Lam [mailto:[EMAIL PROTECTED] Sent: Friday, April 04, 2003 1:16 PM To: Mike Butler; [EMAIL PROTECTED] Subject: Re: Problems getting a simple form to work. [..] Can anyone tell me what I'm

RE: Problems getting a simple form to work.

2003-04-04 Thread Mike Butler
, - Mike -Original Message- From: Hughes, Andrew [mailto:[EMAIL PROTECTED] Sent: Friday, April 04, 2003 3:09 PM To: [EMAIL PROTECTED] Subject: RE: Problems getting a simple form to work. I would also add use CGI::Carp qw(fatalsToBrowser); along with use CGI; use strict; This way your

RE: Problems getting a simple form to work.

2003-04-04 Thread Mike Butler
Thanks, Andrew. That did it. It's working now. :) :) :) Thanks everyone for all your help. - Mike -Original Message- From: Rob Benton [mailto:[EMAIL PROTECTED] Sent: Friday, April 04, 2003 4:38 PM To: Mike Butler Cc: Hughes, Andrew; [EMAIL PROTECTED] Subject: RE: Problems getting

Getting the domain name

2003-07-14 Thread Mike Blezien
Hello, We have a fairly simple redirect script a url is entered, and even tho there are directions to not enter the http://www; sometimes we get it or http://;... what is the simplest method to extract just the domain name if a http://www.somedomain_name.com; or http://somedomain_name.com; is

File uploading

2003-07-17 Thread Mike Harrison
large the file is without having to download it first. Does perl have a module that can check the size of the file? And for that matter, its type (.jpg, .gif etc.)? Thanks in advance, Mike.

Perl line breaks

2003-08-04 Thread Mike Harrison
that I can't see on the screen - such as line breaks or other non-printable characters??? Thanks in advance for any help, Mike.

RE: Perl line breaks

2003-08-04 Thread Mike Harrison
require the full path. The -w to warn of errors/mistakes etc.) I will need to wait till tonight before sending some of the perl program and header info... Cheers, Mike. -Original Message- From: Andrew Brosnan [mailto:[EMAIL PROTECTED] Sent: Tuesday, 05 August, 2003 10:03 AM To: Mike Harrison

RE: Perl line breaks

2003-08-06 Thread Mike Harrison
Gonzalez [mailto:[EMAIL PROTECTED] Sent: Wednesday, 06 August, 2003 1:20 AM To: Mike Harrison Cc: [EMAIL PROTECTED] Subject: Re: Perl line breaks Mike Harrison wrote: Hello all, Well, I have spent the last few nights messing around trying to work out why one of my PERL programs doesn't work

RE: Perl line breaks

2003-08-10 Thread Mike Harrison
both? Anyway, I am now a heredoc follower for the larger html output sections - much cleaner and less time consuming to write! Thanks again for your ideas and suggestions guys, Mike. -Original Message- From: Octavian Rasnita [mailto:[EMAIL PROTECTED] Sent: Wednesday, 06 August, 2003 7:44 PM

RE: Perl line breaks

2003-08-14 Thread Mike Harrison
for your help so far guys! I am losing a bit of sleep on this one :( Regards, Mike. -Original Message- From: Octavian Rasnita [mailto:[EMAIL PROTECTED] Sent: Wednesday, 06 August, 2003 2:30 AM To: Jon Hogue Cc: Mike Harrison; 'Andrew Brosnan'; [EMAIL PROTECTED] Subject: Re: Perl line breaks

Monitor Bandwidth.

2003-08-21 Thread Mike Blezien
Hello, Does anyone know of a Perl module or other means with Perl to monitor and/or measure bandwidth usage ?? TIA -- MikemickaloBlezien =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Thunder Rain Internet Publishing Providing Internet Solutions that work! http://www.thunder-rain.com Web Hosting

RE: passing an argument to a subroutine

2003-09-08 Thread Mike Harrison
name will result in the scalar containing the number of elements in the array: eg. $scalar = (1..5); # $scalar will be given the value of 5. See my comments below... Mike. -Original Message- From: B. Fongo [mailto:[EMAIL PROTECTED] Sent: Thursday, 04 September, 2003 7:34 PM To: [EMAIL

Apache Logs

2003-10-02 Thread Mike Blezien
Hello, I was wondering if someone knows of any Perl Modules that designed to read and process the various types of apache access_log files like common, combined..etc ?? thx's -- MikemickaloBlezien =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Thunder Rain Internet Publishing Providing Internet

Re: Apache Logs

2003-10-03 Thread Mike Blezien
Randal, yes, I was finally able to find it after I was able to connect to the cpan search web site. seems sometimes the site is not accessiable. appreciate the info. Micaklo Randal L. Schwartz wrote: Mike == Mike Blezien [EMAIL PROTECTED] writes: Mike I was wondering if someone knows of any

HTML Anchor in CGI

2003-10-16 Thread Mike Garner
? Thanks, Mike -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Rounding Off

2003-11-22 Thread Mike Blezien
Thanks, exactly what I was looking for :) -- MikemickaloBlezien =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Thunder Rain Internet Publishing Providing Internet Solutions that work! =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Wiggins d'Anconia wrote: Mike Blezien wrote: Hello, I need the ability

Javascript problems with -script

2003-11-23 Thread Mike Schienle
Navigator', -author='Mike Schienle, [EMAIL PROTECTED]', -style={ 'src'='/styles/delta.css' }, -script=$JSCRIPT # -script={ # -language='JAVASCRIPT', # -src='/delta/js/openWin.js' # } ), $q-start_form( -name='GUI', -onSubmit

Re: Javascript problems with -script

2003-11-23 Thread Mike Schienle
On Nov 23, 2003, at 06:47 PM, Charles K. Clarkson wrote: On Sunday, November 23, 2003 6:42 PM, Mike Schienle [EMAIL PROTECTED] wrote: [snip] : Can someone point out what I'm missing in the -script section : that's commented out that would make it not work correctly? : The source of the file

OLE Permissions in CGI

2003-12-10 Thread Mike Garner
/p ); } - Mike Garner Computer Services, WSC [EMAIL PROTECTED] 970.943.3123 (voice) 970.943.7069 (fax)

RE: OLE Permissions in CGI

2003-12-10 Thread Mike Garner
? - Mike Garner Computer Services, WSC [EMAIL PROTECTED] 970.943.3123 (voice) 970.943.7069 (fax) -Original Message- From: Tom Kinzer [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 10, 2003 9:34 AM To: [EMAIL PROTECTED] Subject: RE: OLE Permissions in CGI Well, I know nothing about

General question about HTML form

2004-03-20 Thread Mike Ni
to find out more about what is out there? Thanks, Mike __ Do you Yahoo!? Yahoo! Mail - More reliable, more storage, less spam http://mail.yahoo.com -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http

PERL CGI on IIS

2004-07-12 Thread Mike Garner
always fails on the GetObject method line when it is executed via CGI. What is that command doing that IIS doesn't appreciate? Any suggestions? Thanks, Mike

RE: Printing from a Web Browser

2004-12-01 Thread Mike Garner
but maybe this helps some... ~Mike -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/ http://learn.perl.org/first-response

RE: How to send mail using ActiveState and IIS

2005-01-08 Thread Mike Garner
the link to some documentation: http://search.cpan.org/~mivkovic/Mail-Sendmail-0.79/Sendmail.pm ~Mike - Mike Garner Computer Services, WSC [EMAIL PROTECTED] voice: 970.943.3123 fax: 970.943.7069 -Original Message- From: Siegfried Heintze [mailto:[EMAIL PROTECTED] Sent

RE: hello all

2005-02-17 Thread Mike Garner
header is in place. The docs for CGI are quite extensive. Break your process apart and go step by step. As you run into specific hang-ups, post back here. Good luck. ~Mike PS. And maybe come up with a more informational subject line. -Original Message- From: Don Doucette [mailto:[EMAIL

Alternative Modules

2005-04-26 Thread Mike Blezien
really remove certain headers from the actual body of the email. Is there a module that works similar as the Mail::Audit, but extracts the actual body content of the email without some of the headers included in it?? TIA -- Mike(mickalo)Blezien =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Thunder

Online Banking

2005-04-26 Thread Mike Blezien
that would work TIA, -- Mike(mickalo)Blezien =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Thunder Rain Internet Publishing Providing Internet Solutions that work! http://thunder-rain.com/ =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail

Perl equivelant

2005-05-02 Thread Mike Blezien
Hello, Hoping we have some expert MySQL Function to perl function people on the list. Is there an equivelant function in perl for converting IP's, the same as MySQL functions: INET_ATON('IP_ADDRESS_STR') and INET_NTOA('STR') TIA, -- Mike(mickalo)Blezien

Re: Perl equivelant

2005-05-02 Thread Mike Blezien
Sean Davis wrote: - Original Message - From: Mike Blezien [EMAIL PROTECTED] To: Perl List beginners-cgi@perl.org Sent: Monday, May 02, 2005 8:20 PM Subject: Perl equivelant Hello, Hoping we have some expert MySQL Function to perl function people on the list. Is there an equivelant

Undefined subroutine Error

2005-05-07 Thread Mike Blezien
main::some_routine_name called at script_name line XXX TIA -- Mike(mickalo)Blezien =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Thunder Rain Internet Publishing Providing Internet Solutions that work! =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

Sort hash on key value

2005-05-07 Thread Mike Blezien
), but can get it to sort on the key value. This needs to be a sort on the alpha, and not numeric value. What I'm I doing wrong ?? TIA, -- Mike(mickalo)Blezien =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Thunder Rain Internet Publishing Providing Internet Solutions that work

Re: Sort hash on key value

2005-05-07 Thread Mike Blezien
Ah! ... had is ass-backwards, I though it didn't look right. Thank you for your help...much appreciated :) Paul Archer wrote: 7:22pm, Mike Blezien wrote: Hello, I've gone through serveral posting regarding sorting hashes, but can't seem to get it to sort correctly. I need it to sort on the key

Multiple Languages

2005-05-11 Thread Mike Blezien
that the scripts may not understand or handled incorrectly or cause problems with processing the data entered. If you've had some experence with working with multi-lingual applications, any info or documentation would be appreciated. TIA, -- Mike(mickalo)Blezien

Hash array

2005-05-12 Thread Mike Blezien
Hello, what is the correct proceedure to check the number of elements in a hash array, when extracting elements like $hash-{$key}-[0],$hash-{$key}-[1],.etc is there way to determine the number of elements [ ] in the $hash-{$key} if is not known so each element can be displayed. TIA. -- Mike

Re: Hash array

2005-05-12 Thread Mike Blezien
Ovid wrote: --- Mike Blezien [EMAIL PROTECTED] wrote: what is the correct proceedure to check the number of elements in a hash array, when extracting elements like $hash-{$key}-[0],$hash-{$key}-[1],.etc is there way to determine the number of elements [ ] in the $hash-{$key} if is not known so

hash array sorting

2005-06-03 Thread Mike Blezien
, then it's the last in the list after all others sorted. this is the code we use to do the sort. foreach $key (sort { $lang-{$a}-[0] cmp $lang-{$b}-[0] } keys(%{$lang})) { # do stuff here } Is there way to sort and disregarding case ?? TIA. -- Mike(mickalo)Blezien

Re: hash array sorting

2005-06-03 Thread Mike Blezien
How that apply to our code: foreach $key (sort { $lang-{$a}-[0] cmp $lang-{$b}-[0] } keys(%{$lang})) { # do stuff here } Sean Davis wrote: Look at using lc (lower case). It can make your sort case-insensitive. On Jun 3, 2005, at 7:17 PM, Mike Blezien wrote: Hello, ran

checking for a sequence of numbers

2005-06-03 Thread Mike Blezien
3 #Checkword: phone #Checkword: number -- Mike(mickalo)Blezien =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Thunder Rain Internet Publishing Providing Internet Solutions that work! http://thunder-rain.com/ =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= -- To unsubscribe, e-mail: [EMAIL PROTECTED

Help w/Regexp filtering

2005-06-04 Thread Mike Blezien
}/ or $wordtochk =~ /\@/) { print qq~Word: $wordtochk - Filter:$filters[$i]br~; $match = 1; last CHECK; } } } Any help would be much appreciated. :) -- Mike(mickalo)Blezien =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Thunder Rain Internet Publishing Providing

Cookie Problem

2005-08-01 Thread Mike Blezien
the pipe character '|' without it being changed to the '%7C' character. TIA, -- Mike(mickalo)Blezien =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Thunder Rain Internet Publishing Providing Internet Solutions that work! =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= -- To unsubscribe, e-mail: [EMAIL

Re: redirect - CGI

2006-04-11 Thread Mike Blezien
- Original Message - From: Augusto Flavio [EMAIL PROTECTED] To: 'Perl Beginners - CGI List' beginners-cgi@perl.org Sent: Tuesday, April 11, 2006 8:05 AM Subject: redirect - CGI Hi, I'm looking for a method to redirect the url of browser to elsewhere. What i do was check the

Re: CGI::Fast and ithreads.

2006-05-02 Thread Mike Pomraning
CPAN. I also suggest that you ``use threads'', rather than ``require'' it. Good luck. Regards, Mike -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/ http://learn.perl.org/first-response

Re: pattern matching problems

2006-07-08 Thread Mike Williams
+)/) { push @words, $word unless $used{$word}; $used{$word} = 1; } } with $sentence = 'she had brown hair and brown eyes'; @words would be: she:had:brown:hair:and:eyes Perhaps I've had too much caffeine this morning ;-) Happy hacking, Mike Williams ps - always include use warnings

Re: unix top command through cgi

2006-08-04 Thread Mike Williams
then have to parse the escape sequences top uses for highlighting, etc. Have a look at man top for more information. Mike -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/ http://learn.perl.org/first-response

Re: redirecting cgi via post method

2007-02-16 Thread Mike Blezien
You may also want to check out the WWW::Mechanize module this will do what your looking for. Mike - Original Message - From: Mumia W. [EMAIL PROTECTED] To: Beginners CGI beginners-cgi@perl.org Sent: Friday, February 16, 2007 12:49 PM Subject: Re: redirecting cgi via post method

Re: Premature end of script headers

2007-06-05 Thread Mike Williams
this near the top of your script: use CGI::Carp qw(fatalsToBrowser); this will redirect fatal errors to the browser window - see perldoc CGI::Carp for more info. If neither this nor Sean's suggestion helps post your code so we can take a look. Mike

Re: Premature end of script headers

2007-06-08 Thread Mike Williams
On 6/7/07, saravanan Jagadeesan [EMAIL PROTECTED] wrote: Mike, These are the answers for your questions Do you have other cgi programs in the same directory that work? None works !!,Am having about 5 programs in my CGI-BIN folder all these programs are executing the same

Re: Premature end of script headers

2007-06-12 Thread Mike Williams
Saravanan, Hi there. Please do a reply to all to keep this on the list. Someone else may be able to help, and someone else may be helped in the future if it lands in the list archives. On 6/12/07, saravanan Jagadeesan [EMAIL PROTECTED] wrote: Mike, Thanks for your info mike , i

Re: Premature end of script headers

2007-06-13 Thread Mike Williams
the configuration changes loaded. do you made any modification to make the code run on linux,if so let me know The code you originally posted compiled and ran without modification on linux. Mike -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http

Re: cgi-bin will not execute perl program

2007-06-14 Thread Mike Williams
for mod_cgi in your httpd.conf file? BTW - this was with Apache/2.2.4 on fedora 6. Mike -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/

Re: cgi-bin will not execute perl program [SOLVED]

2007-06-21 Thread Mike Williams
can't beleive I didn't even check that. Assumed it was a given that it would be there... Cool, thanks for the good news. Cheers, Mike

Re: uploading a file with perl---kueri: ------------4CyrMz2ZeGIClwYfFsVdcv Content-Disposition: form-data; name=level asda ------------4CyrMz2ZeGIClwYfFsVdcv Content-Disposition: form-data; name=m

2008-01-13 Thread Mike Williams
and limping. You should look at the perldoc for CGI. In particular search for MAX (with /MAX) and read the section about settint the maximum size of uploads. Cheers, Mike

Re: Sendmail

2008-04-10 Thread Mike Williams
test) { return ([EMAIL PROTECTED]); } } # output from test ... $ ./cgi_list_bug.pl [EMAIL PROTECTED] Mike

FormMail within a CGI Script

2008-09-20 Thread Mike Flannigan
errors. I am very new at CGI, but not Perl. Can anybody explain what I am doing wrong? It may be something very basic. I get the digest version of this list, so I'd appreciate it if you sent it to me directly along with sending it to the list. Mike Flannigan -- To unsubscribe, e-mail

Carry Variable to Form

2008-09-20 Thread Mike Flannigan
this to work? I tried literally 40 different things, but none worked. I also spent roughly 4 hours searching for a solution. I can get this done with a Perl file, but unfortunately my Webserver will not run it properly. Mike -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail

Re: Carry Variable to Form

2008-10-04 Thread Mike Flannigan
On Sun, 21 Sep 2008, [EMAIL PROTECTED] wrote: On Sat, 20 Sep 2008 23:27:55 -0600, Mike Flannigan wrote: I really like this print ENDHTML; html code goes here ENDHTML thing I found. If I had my way, I'd do everything in Perl. Good! Well in that case, the sooner you learn about

Re: embedding a CGI script in a HTML page?

2008-12-14 Thread Mike Williams
lost in how to use it for my needs. Take a look at the template toolkit web site, that may help you understand it. http://www.template-toolkit.org/ Mike -- To unsubscribe, e-mail: beginners-cgi-unsubscr...@perl.org For additional commands, e-mail: beginners-cgi-h...@perl.org http

Re: embedding a CGI script in a HTML page?

2008-12-15 Thread Mike Williams
On Mon, Dec 15, 2008 at 7:50 AM, Adam Jimerson vend...@charter.net wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Dermot Paikkos wrote: -Original Message- http://www.template-toolkit.org/ Mike Looking at the website and the documentation, still reading through it, I'm

Re: embedding a CGI script in a HTML page?

2008-12-15 Thread Mike Williams
On Mon, Dec 15, 2008 at 1:48 PM, Adam Jimerson vend...@charter.net wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mike Williams wrote: Your first question was: I'm sorry I guess I should have been more specific in my question, I never wanted to try and put perl code ino my HTML

Re: Verifying email addresses given by a user

2009-01-01 Thread Mike Williams
if $addr; print Invalid address ($email)\n unless $addr; Here's the output from two test runs, alternately commenting out the two addresses above: $ ./email_list_test.pl valid address (drumm...@gmail.com) $ ./email_list_test.pl Invalid address (test) Happy New Year, Mike -- To unsubscribe, e

Re: Send email using SMTP

2009-01-08 Thread Mike Williams
characters, but it should get rid of most of the terminal control stuff. Mike

Re: Opening a pipe when taint mode is enabled (was: Send email using SMTP)

2009-01-10 Thread Mike Williams
: $name = param('Name'); if ($name =~ /^([...@\w. ]+)$/) { $name = $1; } else { print font color=\red\Bad name ($name)/font\n; # mw debug } Mike

perldoc ESC problem (was: Send email using SMTP)

2009-01-10 Thread Mike Williams
better on different operating systems. There are a couple other environment variables that look like they may help. Also, man lesskey provides various other ways to change the defaults for less on different OS's. Mike

Re: Using GD on the fly to add a graph to a web page

2009-02-03 Thread Mike Williams
and haven't done this in quite a while, so I may have missed something. This should at least get you on the right track. Cheers, Mike -- To unsubscribe, e-mail: beginners-cgi-unsubscr...@perl.org For additional commands, e-mail: beginners-cgi-h...@perl.org http://learn.perl.org/

Re: Using GD on the fly to add a graph to a web page

2009-02-05 Thread Mike Williams
On Wed, Feb 4, 2009 at 6:11 PM, bacoms googlebr...@balfour.me.uk wrote: Mike, First of all many thanks for the detailed reply. I thought I understood what you were saying but, having changed my code accordingly, I'm not so sure. You are welcome. It looks like you understood things pretty well

Re: problems with 'require'

2009-11-29 Thread Mike Williams
the server. I don't know if it's in the Active State repository, if not, its available on CPAN http://search.cpan.org/search?query=Apache::Reloadmode=module Mike

Re: Stuck automating login to reuters.com and getting a page

2011-01-16 Thread Mike Williams
advise against it. It might be easier to put your c++ code in a library and then create a wrapper around that with xs. One approach that generally works for me is to identify stand alone tasks, get them working by themselves, then work on making them play together. Mike

Re: PERL CGI SCRIPT killed by apache on client abort

2011-03-27 Thread Mike Williams
does it make whether they get an error from your script or from apache, if they expected an error and intend to try again? Mike -- To unsubscribe, e-mail: beginners-cgi-unsubscr...@perl.org For additional commands, e-mail: beginners-cgi-h...@perl.org http://learn.perl.org/

Re: cgi development environment

2012-09-19 Thread Mike Williams
in syntax errors. Mike

Check disc quota

2002-07-14 Thread Mike(mickalo)Blezien
has an equivalent to this to check disc usage in various folders. thanks, Mike(mickalo)Blezien =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Thunder Rain Internet Publishing Providing Internet Solutions that work! http://www.thunder-rain.com Tel: 1(985)902-8484

Reformatting a file

2002-08-10 Thread Mike(mickako)Blezien
suggestion/help on the best way to do this, and would be appreciated. TIA, -- Mike(mickalo)Blezien =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Thunder Rain Internet Publishing Providing Internet Solutions that work! http://www.thunder-rain.com Bus Phone: 1(985)902-8484 Cellular: 1(985)320-1191 Fax

Better regrex method

2002-08-14 Thread Mike(mickako)Blezien
appreciated. TIA, -- Mike(mickalo)Blezien =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Thunder Rain Internet Publishing Providing Internet Solutions that work! http://www.thunder-rain.com Bus Phone: 1(985)902-8484 Cellular: 1(985)320-1191 Fax:1(985)345-2419

Re: Better regrex method

2002-08-14 Thread Mike(mickako)Blezien
: , $tag-{PRE}, \n; print NUMBER: , $tag-{NUM}, \n; print \n; } Something like that? -Original Message- From: Mike(mickako)Blezien [mailto:[EMAIL PROTECTED]] Sent: Wednesday, August 14, 2002 2:44 PM To: Perl List Subject: Better regrex method Hello, I'm working

Re: database update

2002-08-15 Thread Mike(mickako)Blezien
the following error... ERROR: parser: parse error at or near , I'm using the Pg module, any idea why it won't run from the web? Try single or double quotes around your varilables, IE.. CustNo = '$custNo', PIN = '$pin' or read up on placeholders. -- Mike(mickalo)Blezien

Re: mysql problem

2002-08-15 Thread Mike(mickako)Blezien
/menu.cgi line 13 Make sure the DBD::mysql module is also installed. The DBI is the API that uses the DBD::mysql drives. -- Mike(mickalo)Blezien =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Thunder Rain Internet Publishing Providing Internet Solutions that work! http://www.thunder-rain.com Bus Phone: 1

Open new window.

2002-08-26 Thread Mike(mickako)Blezien
need to do some simple math calculation, which would be produced in the new window that's opened, and would rather not open a full browser new window if at all possible,... and I haven't seen any js scripts that does this. was hoping someone may have done this with perl.. thanks, -- Mike

Monitor a POP3 account

2002-09-03 Thread Mike(mickako)Blezien
job,.. no problems there, but what is the best way to retrieve the email, via Perl, so the other script can be triggered... hope this is clear ;) thanks, -- Mike(mickalo)Blezien =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Thunder Rain Internet Publishing Providing Internet Solutions that work! http

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, -- MikemickaloBlezien

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 =

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

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

Re: Retrieving POP email

2002-12-02 Thread Mike(mickako)Blezien
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 it for clients and sent out several

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 wrote: Hi Wiggins

  1   2   >