Re: Query on sendmail problem

2005-10-07 Thread Scott R. Godin
Dale wrote: Hi, I'm hoping someone can help me with an issue I've got with, I assume, sendmail. I've copied part of a script below. If I use the first To: line (which takes the e-mail address from a file - and this works) then a mail doesn't arrive. If, however, I used the second To: line

Re: problems with CGI.pm upload feature

2005-09-20 Thread Scott R. Godin
Charles K. Clarkson wrote: Scott R. Godin mailto:[EMAIL PROTECTED] wrote: : Regrettably this isn't getting me any closer to a resolution -- : what about the code? can anyone see anything I might have : overlooked? done wrong? should it, in fact, be working right : now? Did you test

Re: problems with CGI.pm upload feature

2005-09-19 Thread Scott R. Godin
Scott R. Godin wrote: script is at http://phpfi.com/78748 Possibly used the wrong web browser to upload the file. Not all of them support this feature. Firefox does not. It will however provide the CGI script with the file name. Firefox doesn't support file uploads? I use it all

Re: problems with CGI.pm upload feature

2005-09-18 Thread Scott R. Godin
Wiggins d'Anconia wrote: Bill Stephenson wrote: On Sep 16, 2005, at 7:51 PM, Scott R. Godin wrote: Wiggins d'Anconia wrote: Scott R. Godin wrote: script is at http://phpfi.com/78748 I followed the instructions in CGI.pm as best I could, and from what I read the upload() function is supposed

Re: problems with CGI.pm upload feature

2005-09-17 Thread Scott R. Godin
Wiggins d'Anconia wrote: Scott R. Godin wrote: script is at http://phpfi.com/78748 I followed the instructions in CGI.pm as best I could, and from what I read the upload() function is supposed to return a filehandle ? (it doesn't say whether this is a direct FH to the tempfile or not) I had

Re: Perl DBI / SQL Question

2005-09-16 Thread Scott R. Godin
Vance M. Allen wrote: Sorry if the cross-posting wasn't appropriate, but I need help with this and am not sure if it's more appropriate to post under CGI or DBI since it involves both...I want to be sure that I can get help from the best source. My question is probably a simple answer, but I

problems with CGI.pm upload feature

2005-09-16 Thread Scott R. Godin
script is at http://phpfi.com/78748 I followed the instructions in CGI.pm as best I could, and from what I read the upload() function is supposed to return a filehandle ? (it doesn't say whether this is a direct FH to the tempfile or not) I had dome some preliminary testing with one-liners

Re: changing action with appended key/value pairs in a POST

2005-09-10 Thread Scott R. Godin
Todd W wrote: Scott R. Godin [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] [snip] able to simply add ?step=confirm or ?step=finish to the form action ( -action=$htmlform{action}?step=confirm, ... ) [snip] You could refer to the CGI.pm docs, specifically the part about mixing

changing action with appended key/value pairs in a POST

2005-08-24 Thread Scott R. Godin
I have a multi-stage cgi I'm currently working on, and as I progress thru the stages (the form uses POST not GET for reasons of data-size) I was hoping to be able to simply add ?step=confirm or ?step=finish to the form action ( -action=$htmlform{action}?step=confirm, ... ) However it's not

Re: perl-CGI module - post method

2005-07-18 Thread Scott R. Godin
Scott R. Godin wrote: Ovid wrote: --- Scott R. Godin [EMAIL PROTECTED] wrote: his example and in which case you want to get the params AFTER creating the cgi-object my %params = $cgi-Vars; which ensures that you also get multi-value selects as separate values. too. $cgi-Vars

Re: perl-CGI module - post method

2005-07-18 Thread Scott R. Godin
Scott R. Godin wrote: Ovid wrote: --- Scott R. Godin [EMAIL PROTECTED] wrote: his example and in which case you want to get the params AFTER creating the cgi-object my %params = $cgi-Vars; which ensures that you also get multi-value selects as separate values. too. $cgi-Vars

Re: CGI.pm internals question

2005-07-14 Thread Scott R. Godin
Bob Showalter wrote: Scott R. Godin wrote: under what circumstances is the CGI.pm's STORE autoloaded method called? is it used only when you assign values to the object, or is it only used when receiving values (or multi-values) from the webserver query? It is part of the tied hash

CGI.pm internals question

2005-07-13 Thread Scott R. Godin
under what circumstances is the CGI.pm's STORE autoloaded method called? is it used only when you assign values to the object, or is it only used when receiving values (or multi-values) from the webserver query? -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail:

Re: perl-CGI module - post method

2005-02-09 Thread Scott R. Godin
Ovid wrote: --- Scott R. Godin [EMAIL PROTECTED] wrote: his example and in which case you want to get the params AFTER creating the cgi-object my %params = $cgi-Vars; which ensures that you also get multi-value selects as separate values. too. $cgi-Vars separates multiple values with a null

Re: Insecure dependency in glob ... with -T switch

2005-01-21 Thread Scott R. Godin
. Or you may need to run somethings thru a dumb regex, which will satisfy the taint checking. It's a dirty hack, but you can do sub untaint_me{ my $in = shift; $in =~ /(.*)/; return $1; } which totally obviates the whole reason for using the -T switch to begin with, but anyway... -- Scott R

Re: bind values and cgi params

2005-01-08 Thread Scott R. Godin
SOMETABLE; or however they do it. -- Scott R. Godin Laughing Dragon Services www.webdragon.net -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/ http://learn.perl.org/first-response

Re: Database Rows Returned

2005-01-08 Thread Scott R. Godin
need to limit. -- Scott R. Godin Laughing Dragon Services www.webdragon.net -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/ http://learn.perl.org/first-response

Re: Simple table question?

2005-01-08 Thread Scott R. Godin
] there is a convenient shortcut for another CGI.pm trick : passing an arraryref to one of the subs will span it across the contents. print Tr( td( [ qw{ cat dog bird fish } ] )); results in tr tdcat/td tddog/td etc.. /tr -- Scott R. Godin Laughing Dragon Services www.webdragon.net -- To unsubscribe, e

Re: Simple table question?

2005-01-08 Thread Scott R. Godin
from the directory itself.) ); push @table, ( p({-align='center'}, submit(-name='delete', -label='Remove Selected Images') ), end_form() ); return @table; } then somewhere in the middle of the other html output I need merely do print existing_images($requested_itemid); -- Scott R. Godin

Re: Thumbnail images on-the-fly

2002-01-18 Thread Scott R. Godin
In article [EMAIL PROTECTED], [EMAIL PROTECTED] (Scott R. Godin) wrote: Many thanks to all of you who responded. :-) One of the things I love the most about these lists -- that one can get so many different perspectives on a problem and solution, because it gives one so much more

Re: Need basic commands on perl programming

2001-12-07 Thread Scott R. Godin
pack H*, 4a75737420416e6f74686572204d61635065726c204861636b65722c0d; -- Scott R. Godin| e-mail : [EMAIL PROTECTED] Laughing Dragon Services |web : http://www.webdragon.net/ It is not necessary to cc: me via e-mail unless you mean to speak off-group. I read these via nntp.perl.org, so

Re: Next 10 Results Help Needed

2001-12-07 Thread Scott R. Godin
*, 4a75737420416e6f74686572204d61635065726c204861636b65722c0d; -- Scott R. Godin| e-mail : [EMAIL PROTECTED] Laughing Dragon Services |web : http://www.webdragon.net/ It is not necessary to cc: me via e-mail unless you mean to speak off-group. I read these via nntp.perl.org, so as to get the stuff OUT of my mailbox

Re: (End this thread) Re: Fwd: Fw: PLEEEEEEEASE READ!!!

2001-12-03 Thread Scott R. Godin
. {MASSIVE snippage} uh, not to mention REAMS of attributes and quoted text (ugh) that were better left unposted. =:P print pack H*, 4a75737420416e6f74686572204d61635065726c204861636b65722c0d; -- Scott R. Godin| e-mail : [EMAIL PROTECTED] Laughing Dragon Services

Re: uploading file

2001-11-30 Thread Scott R. Godin
more frequently than the one on the website is. (for mysterious reasons known only to Lincoln :-) print pack H*, 4a75737420416e6f74686572204d61635065726c204861636b65722c0d; -- Scott R. Godin| e-mail : [EMAIL PROTECTED] Laughing Dragon Services |web : http://www.webdragon.net

Re: Program dilema

2001-11-30 Thread Scott R. Godin
stupidly simple it's like.. magic :) print pack H*, 4a75737420416e6f74686572204d61635065726c204861636b65722c0d; -- Scott R. Godin| e-mail : [EMAIL PROTECTED] Laughing Dragon Services |web : http://www.webdragon.net/ It is not necessary to cc: me via e-mail unless you mean

Re: Table Options.

2001-11-24 Thread Scott R. Godin
more use than attempting to include dozens of font tags and color tags and whatnot. Also a validator like http://validator.w3.org/ and the companion CSS validator, are of inestimable use. -- Scott R. Godin| e-mail : [EMAIL PROTECTED] Laughing Dragon Services |web : http

Re: XML Header

2001-11-22 Thread Scott R. Godin
Specification V2.1//EN http://www.w3.org/XML/1998/06/xmlspec-v21.dtd; CGI.pm emits an XHTML header by default, unless you specify -no_xhtml in the invocation of use CGI qw/ :blah -no_xhtml /; -- Scott R. Godin| e-mail : [EMAIL PROTECTED] Laughing Dragon Services |web : http

Re: Getting past Use of uninitialized value...

2001-11-21 Thread Scott R. Godin
' warnings quite nicely though. -- Scott R. Godin| e-mail : [EMAIL PROTECTED] Laughing Dragon Services |web : http://www.webdragon.net/ It is not necessary to cc: me via e-mail unless you mean to speak off-group. I read these via nntp.perl.org, so as to get the stuff OUT of my

Re: force a refresh?

2001-11-17 Thread Scott R. Godin
to that file, but if they have viewed it before, they are getting the old file. thanx try the -expires=$value pair in the start_html() function of CGI.pm -- Scott R. Godin| e-mail : [EMAIL PROTECTED] Laughing Dragon Services |web : http://www.webdragon.net/ It is not necessary

Re: How Should I Install Perl?

2001-11-17 Thread Scott R. Godin
to test Perl scripts only on servers or it can be done on my PC? And what does it mean: Type % perl -e 'print join(\n,@INC)' ? Where should I type it? Thanks a lot. get ActiveState's perl for Windows. -- Scott R. Godin| e-mail : [EMAIL PROTECTED] Laughing Dragon Services |web

Re: Printing Hash Keys

2001-11-16 Thread Scott R. Godin
(); command-click the word 'vec' while in MacPerl and MacPerl hands it off to Shuck which looks up the term in the pod files. (in this case, perlfunc.pod) -- Scott R. Godin| e-mail : [EMAIL PROTECTED] Laughing Dragon Services |web : http://www.webdragon.net/ It is not necessary

Re: Printing Hash Keys

2001-11-16 Thread Scott R. Godin
does. MacPerl does have support for one-liners, but in a slightly different manner from what you're used to, since the ClassicMacOS doesn't have and never has had (or needed, IMHO), a command-line. -- Scott R. Godin| e-mail : [EMAIL PROTECTED] Laughing Dragon Services |web : http

Re: Sort or Array Assigning problem???

2001-11-16 Thread Scott R. Godin
place, but perhaps I misunderstand the end-result you're looking for. :-) -- Scott R. Godin| e-mail : [EMAIL PROTECTED] Laughing Dragon Services |web : http://www.webdragon.net/ It is not necessary to cc: me via e-mail unless you mean to speak off-group. I read these via

Re: MySQL and Perl...

2001-11-16 Thread Scott R. Godin
^^ funny, I parsed this as 'complex paper folding' :-) http://dbi.perl.org http://www.mysql.com -- Scott R. Godin| e-mail : [EMAIL PROTECTED] Laughing Dragon Services |web : http://www.webdragon.net/ It is not necessary to cc: me via e-mail

Re: quotemeta regex

2001-10-31 Thread Scott R. Godin
escapes) -- Scott R. Godin| e-mail : [EMAIL PROTECTED] Laughing Dragon Services |web : http://www.webdragon.net/ -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: CGI Login in IE but NOT Netscape

2001-10-31 Thread Scott R. Godin
1997. Everyone's SO scared of scaring customers with broken web-browsers away from their sites, that they practically ENCOURAGE the browser manufacturers to continue their sloppy practices. I curl my lip at you, you shoddy browser-manufacturing-person. *snicker* :D -- Scott R. Godin

Re: mod_perl and nntp.perl.org

2001-10-30 Thread Scott R. Godin
In article [EMAIL PROTECTED], [EMAIL PROTECTED] (Ask Bjoern Hansen) wrote: [EMAIL PROTECTED] (Scott R. Godin) writes: aside from the mailing lists @apache.org I haven't seen much else, and having a fair preference for a usenet-style discussion as opposed to a mailing list format

Re: Docs

2001-10-26 Thread Scott R. Godin
version of the latest... Lincoln doesn't always update the website link above, but what comes with CGI.pm is *always* updated. :) -- Scott R. Godin| e-mail : [EMAIL PROTECTED] Laughing Dragon Services |web : http://www.webdragon.net/ -- To unsubscribe, e-mail: [EMAIL PROTECTED

Re: (simple) cgi.pm question

2001-10-26 Thread Scott R. Godin
of: print $params{q001}\t$params{q002}\t ... $params{q100}; # 100 times Perl is designed to give you several ways to do anything, so consider picking the most readable one. - Larry Wall heh =] darn skippy. -- Scott R. Godin| e-mail : [EMAIL PROTECTED] Laughing Dragon Services

Re: somone please help

2001-10-26 Thread Scott R. Godin
return hehehe :) -- Scott R. Godin| e-mail : [EMAIL PROTECTED] Laughing Dragon Services |web : http://www.webdragon.net/ -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: I want out, but I'm no idiot.

2001-10-25 Thread Scott R. Godin
, they found a way to get off the list. now you all know why I would choose a usenet newsreader over a mailing list every. single. time. whenever possible. -- Scott R. Godin| e-mail : [EMAIL PROTECTED] Laughing Dragon Services |web : http://www.webdragon.net/ -- To unsubscribe, e

SSL and CGI

2001-10-25 Thread Scott R. Godin
is there a reasonably simple way for a cgi script to tell whether it's being accessed through SSL or not? just curious. I'd like to play with the thought a bit, and want to have my test script report an error if it gets accessed without SSL. -- Scott R. Godin| e-mail : [EMAIL

CGI-compile();

2001-10-25 Thread Scott R. Godin
script with CGI-compile(':all'); in it? just curious.. the docs are a little vague on this point. -- Scott R. Godin| e-mail : [EMAIL PROTECTED] Laughing Dragon Services |web : http://www.webdragon.net/ -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail

Re: Replacing carriage returns in a variable

2001-10-15 Thread Scott R. Godin
In article [EMAIL PROTECTED], [EMAIL PROTECTED] (Guy Tubbs) wrote: but it does the same thing, i.e. I get: Line1br Line2 What I need is: Line1brLine2 Do you know how to get rid of the returns altogether? s/\015\012|\015|\012/br/g; -- Scott R. Godin| e-mail