section 508 compliance to Perl-generated forms?
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
Re: File uploading
ck the size along the lines of (where 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 Harris
File existence under Microsoft IIS
based servers and I am running from a MS IIS-based server. But if that were the case, 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
hat 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 PR
Re: File existence under Microsoft IIS
Thanks Charles, You are correct - I won't be moving directories often, so I have incorporated your 'existence subroutine' suggestion into my perl program with absolute pathnames. It is now much tidier. Thanks again guys, Mike. - Original Message - From: "Charles
PERL CGI on IIS
n32::OLE->GetObject($ADsPath)||print qq(nope, get object failed); $u->SetPassword($new_password); $u->SetInfo(); The script 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: corrected: foreach to generate parameter calls
Separate scalars with the same names as the hash keys means you have to maintain *three* copies of the same names, one in the template file, and two in the perl code. One more possiblity of missing one on an update, and one more thing to do with each change. Hope this helps, 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: Printing from a Web Browser
f I linked the same style sheet for the print media... Another thought might be the way the style sheet is linked. E.g using @import url() or another way. Again, I'm no expert and this isn't a CSS list but maybe this helps some... ~Mike -- To unsubscribe, e-mail: [EMAIL PROTECTED] F
RE: How to send mail using ActiveState and IIS
olks. Here 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 P
RE: hello all
or the output once the right 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
Alternative Modules
it doesn't 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 =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Online Banking
anything 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 command
Re: Alternative Modules
Wiggins d'Anconia wrote: Mike Blezien wrote: Hello, we are currently using the Mail::Audit module to resend piped incoming emails to a particular domain then sends it to various aliases emails from a database. I'm trying locate a similar module but doesn't put alot of the header g
Perl equivelant
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
Re: Perl equivelant
Sean Davis wrote: - Original Message - From: "Mike Blezien" <[EMAIL PROTECTED]> To: "Perl List" 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 equiv
Undefined subroutine Error
utine &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 a
Sort hash on key value
tuff } and it keeps sorting just on the "key" (1,2,3..etc), 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 R
Re: Sort hash on key value
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
Multiple Languages
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(micka
Hash array
displayed. TIA. -- Mike(mickalo)Blezien =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Thunder Rain Internet Publishing Providing Internet Solutions that work! =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://lear
Re: Hash array
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-
hash array sorting
wer case, 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
Re: hash array sorting
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 P
Re: hash array sorting
Thanks, after looking at my code again, I realized what you where referring to and it works fine now, just like you have it below... just had stop and look at it again. :) Mike Sean Davis wrote: Untested: foreach $key (sort { lc($lang->{$a}->[0]) cmp lc($lang->{$b}->[0]) }
checking for a sequence of numbers
2 # seq 2 #Checkword: 06545 # seq 3 #Checkword: phone #Checkword: number -- Mike(mickalo)Blezien =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Thunder Rain Internet Publishing Providing Internet Solutions that work! http://thunder-rain.com/ =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= -- To unsubscribe,
Help w/Regexp filtering
$filters[$i] or $wordtochk =~ /(\d\s*){6,11}/ or $wordtochk =~ /\@/) { print qq~Word: $wordtochk - Filter:$filters[$i]~; $match = 1; last CHECK; } } } Any help would be much appreciated. :) -- Mike(mickalo)Blezien =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
MIME::Lite attachments
f', Filename =>'Document.pdf', Disposition => 'attachment' ); is the specific what to code MIME Lite to send a TEXT/HTML message with a PDF file attached ?? TIA -- Mike(mickalo)Blezien =-=-=-=-=-=-=-=-=-=-=-
Cookie Problem
ed to use the unescape($cookie_string), again the same results. Is there a way to pass the cookie string and retain the pipe character '|' without it being changed to the '%7C' character. TIA, -- Mike(mickalo)Blezien =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Thunder Rain I
Re: redirect - CGI
- Original Message - From: "Augusto Flavio" <[EMAIL PROTECTED]> To: "'Perl Beginners - CGI List'" 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 documentation of CGI.p
Re: CGI::Fast and ithreads.
quot; is so old that it's hardly a relevant data point. Try threads-1.23 or 1.24, available from 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
$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; and use strict; in your perl code unless you *like* chasing bugs -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>
Re: unix top command through cgi
terminal type because you would 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: A Few Questions
g the CGI module you need to have: print "Content-Type: text/html; charset=ISO-8859-1\n\n"; as your first line of output. There is a function/method in CGI called header that will do this for you is you are using the CGI module. See perldoc CGI for more info. If this doesn't work
Re: redirecting cgi via post method
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" Sent: Friday, February 16, 2007 12:49 PM Subject: Re: redirecting cgi via post met
Re: Premature end of script headers
output the headers. Try putting 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
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 executi
Re: Premature end of script headers
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 mi
Re: Premature end of script headers
ake 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://learn.perl.org/
Re: cgi-bin will not execute perl program
er worked, it just displayed the source of my perl code in the browser window. Do you have a load module 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]
nf file? > > BTW - this was with Apache/2.2.4 on fedora 6. That is it!!! I 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
$cgi->param('url'); print $cgi->p("filename => ($filename)"); my $OUTFILE; my $path = '/var/www/cgi-bin/test'; open ($OUTFILE,">$path/$filename") or die "Could not open output file $path/$filename $!"; my ($bytesread, $buffer); while ($bytesread=read($filename,$buffer,1024)) { print $OUTFILE $buffer; } close $OUTFILE; print $cgi->h1('Article upload status'); print $cgi->p('article uploaded'); print $cgi->end_html(); Notice that the upload code using CGI is about one third the length of your non-working code. There should be more error checking added, but it is up 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
x27;sub' before populateEmail #!/usr/bin/perl # use strict; use warnings; my $email = populateEmail("test"); print $email, "\n"; sub populateEmail { if(lc($_[0]) eq "test") { return ("[EMAIL PROTECTED]"); } } # output from test ... $ ./cgi_list_bug.pl [EMAIL PROTECTED] Mike
FormMail within a CGI Script
ybody 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/
Carry Variable to Form
I have an html file that parses passed parameters with this code: var query = location.href.substring((location.href.indexOf('?')+1), location.href.length);if(location.href.indexOf('?') < 0) query = ''; q
Re: Carry Variable to Form
Owen wrote: Hi, This is a Perl mailing list, maybe you would be better off posting to a javascript list, or if it is a html file, a html group? Owen I'm so new at this I really didn't notice the distinction. I've done this formmail thing in pure html, html with javascript, and then Pe
Re: Carry Variable to Form
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 <> > html code goes here >> > ENDHTML >> > thing I found. If I had my way, I'd do everything &
Re: embedding a CGI script in a HTML page?
ely 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://learn.perl.org/
Re: embedding a CGI script in a HTML page?
On Mon, Dec 15, 2008 at 7:50 AM, Adam Jimerson wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Dermot Paikkos wrote: >>> -Original Message- >>>> http://www.template-toolkit.org/ >>>> >>>> Mike >>> Looking
Re: embedding a CGI script in a HTML page?
On Mon, Dec 15, 2008 at 1:48 PM, Adam Jimerson 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
Re: Verifying email addresses given by a user
s => "$email", -mxcheck => 1); }; print "valid address ($addr)\n" if $addr; print "Invalid address ($email)\n" unless $addr; Here's the output from two test runs, alternately commenting out the two addresses above:
Re: Send email using SMTP
some junk in places where perldoc is meant to display bold or underlined 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)
name with a space in between the regex will not match, no assignment will be made and the $name variable will not be untainted. BTW - I missed this at first, but put some debugging code in after the regex test which revealed the problem: $name = param('Name'); if ($name =~ /^([...@\w. ]+)$/) { $name = $1; } else { print "Bad name ($name)\n"; # mw debug } Mike
perldoc ESC problem (was: Send email using SMTP)
that will work 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
w the correct image/png header. And: wget http://blahblahbl/cgi-bin/imagetest.cgi should fetch a local copy image that you can view on your system. Let us know how this works out. I'm not entirely awake and haven't done this in quite a while, so I may have missed something. This should
Re: Using GD on the fly to add a graph to a web page
On Wed, Feb 4, 2009 at 6:11 PM, bacoms 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'
>> >> Apache::Reload will resolve the issue of having to restart 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::Reload&mode=module Mike
Re: Stuck automating login to reuters.com and getting a page
ata all in perl. Calling perl from c++ is a large can of worms. Unless you have a compelling reason for doing this, I would 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
try again with the correct file. What difference 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: sending scalar and hash to function [SUMMARY]
nd using that reference uses just a few bytes of memory. Copying the entire hash uses many thousands of bytes. Happy hacking, Mike
Re: cgi development environment
ither ActiveState, or Strawberry Perl. I use ActiveState. I think CGI comes automatically, but if not install that too with 'ppm'. Get back to me if you need help with that. Mike On 9/18/2012 8:34 AM, beginners-cgi-digest-h...@perl.org wrote: Subject: cgi development environment From:
Re: cgi development environment
You have a couple other issues. Since you have one print statement, spread over multiple lines, the semi-colons on lines 10 and 11 are bugs. They should be commas. The semi-colons terminate the statement resulting in syntax errors. Mike
RE: What database would your recommend?
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
RE: testing CGI without webserver on NT?
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 PROT
RE: Rounding a number
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 PROTECTE
How can I call a Perl function from HTML?
else return false; } //--> //// Best regards Mike Craig -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Encoding text
he special 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 comman
Cookies and IP Addresses
ocument.cookie = escape("MyCookie=XXX" + ";expires=" + cookieDate.toGMTString() + ";domain=.UltraTextPro.biz"); Mike -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Problem Installing the NMS FormMail program
sendmail pipe failed, mailprog=[$mailprog]"; <<== Line 645 } } Does anyone have any suggestions about how to debug this? Is it a problem with sendmail? Thanks so much, - Mike Thanks, - Mike --- Mike Butler Web: http://www.hotlux.com and http://www.mikyo.com Email: [EMAIL PROTEC
Ping Results
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 $pingcomman
display Ping Results
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 $pingcomma
Re: Ping Results
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 p
Out of memory
Hello All, We installed a shopping cart program awhile back, written perl, which was working fine... no problems.. then when we upgraded the cart the other day, then started getting an "Out of Memory" errors from one of the scripts, but not all the time, and I've been working on this most day,
Problems getting a simple form to work.
processed. Please try again later. Below are the permissions and the html and perl code. Can anyone tell me what I'm doing wrong? Also, is there a way to turn on error.log? TIA, - Mike Permissions for cgi-bin: rwxr-xr-x Permissions for simpleform.htm: rwxr-xr-x HTML for simplefor
RE: Problems getting a simple form to work.
ain\n\n"; print "You entered: $username\n"; The permissions look like this: Permissions for cgi-bin: rwxr-xr-x Permissions for simpleform.cgi rwxr-xr-x Permissions for simpleform.htm: rwxr-xr-x I have changed to http://www.mikyo.com/cgi-bin/simpleform.cgi";>. I am stil
RE: Problems getting a simple form to work.
undefined? Thanks, - 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 str
RE: Problems getting a simple form to work.
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 gett
RE: Problems getting a simple form to work.
These are the permissions on the files: simpleform.htm rw-r--r-- cgi-bin rwxr-xr-x simpleform.cgi rwxr-xr-x Does anyone have any ideas? Thanks, - Mike -Original Message- From: Rob Benton [mailto:[EMAIL PROTECTED] Sent: Friday, April 04, 2003 4:38 PM To: Mike Butler Cc: Hughes, Andrew; [
Adding data to file [Long Post]
hello all, I'm trying to change how data is currently being added to a file to condense it and make it easier to work with. Below is the code snip that processes and adds the data to the appropriate file. The current Output to the file is what I am trying to change and not having alot of luck.
Getting the domain name
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.co
File uploading
t how 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
oked an important detail 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
ver, it doesn't 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
RE: Perl line breaks
e BODY and HTML sections. sub HTML_ender { print "\n\n\n"; # Print the copyright information print "\n"; print "\n"; print " Copyright © 2003. All rights reserved.\n"; print "\n"; print "\n"; # End the html section
RE: Perl line breaks
Hi All, Well, I have fixed the problem. I converted the messy html output from a series of ugly print statements (complete with escaping for every " character) to a heredoc as follows: print <mailto:[EMAIL PROTECTED] Sent: Wednesday, 06 August, 2003 7:44 PM To: Mike Harrison; Jon
RE: Perl line breaks
s well. I am now getting a CGI error message along the lines of Cannot find a string terminator '"' in ... line ... (the line above starting with print "... ". I can't find a problem with that line??? Thanks for your help so far guys! I am losing a bit of sleep on t
Monitor Bandwidth.
Hello, Does anyone know of a Perl module or other means with Perl to monitor and/or measure bandwidth usage ?? TIA -- MikeBlezien =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Thunder Rain Internet Publishing Providing Internet Solutions that work! http://www.thunder-rain.com Web Hosting http://www.j
RE: passing an argument to a subroutine
array 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: [
Apache Logs
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 -- MikeBlezien =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Thunder Rain Internet Publishing Providing Internet Solution
Re: Apache Logs
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 w
HTML Anchor in CGI
to work. Any ideas? Thanks, Mike -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Rounding Off
Hello, I need the ability to round off dollar amounts to the nearest 100th of a dollar amount, IE $14.9564 to $14.96 or $132.1123 to $113.11 what is the best way to accomplish this ?? TIA -- MikeBlezien =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Thunder Rain Internet Publishing Providing Internet
Re: Rounding Off
Thanks, exactly what I was looking for :) -- MikeBlezien =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Thunder Rain Internet Publishing Providing Internet Solutions that work! =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Wiggins d'Anconia wrote: Mike Blezien wrote: Hello, I need the ability to roun
Javascript problems with -script
indow when the submit button is pressed: ... my $JSCRIPT = < print $q->header(), $q->start_html( -title=>'E-Tim Navigator', -author=>'Mike Schienle, [EMAIL PROTECTED]', -style=>{ 'src'=>'/styles/delta.css
Re: Javascript problems with -script
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 so
OLE Permissions in CGI
ss ); } else {print qq( Error! I could not locate $user in the $ou Organizational Unit (OU). u was |$u| adspath was |$ADsPath| userdsobject was |$userdsobject| adsinamespaces was |$adsina
RE: OLE Permissions in CGI
ut here I'm not. Any Ideas? ----- 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 Permissi
Re: Creating Menus in CGI
--- > > How to create menus using Perl CGI? > > Any help in this regard will be great. > > Check out the CGI library: http://search.cpan.org/~lds/CGI.pm-3.04/CGI.pm Although I haven't take a crack of it, but I heard it is pretty neat. MIke __
General question about HTML form
rsted 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]
using fork() in CGI script
exit; } print header; print start_html; print "Running command. Thanks.\n"; exit; I'm guessing I need to send some special kind of headers to the server or something, but I really haven't a clue. Any ideas? Thanks, -Mike
Re: using fork() in CGI script
Ok, I didn't get any replies, but I finally figured it out. When forking off a process, I simply closed STDOUT in the child. When the parent exited, the browser quit loading. WOO HOO! -Mike Earlier, I wrote: > > All: > > I have a CGI script which forks off a new process t