Data from web form

2006-04-20 Thread Scott
, and such? Thanks Scott -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>

Help w/ Reseting Counter

2001-06-19 Thread Scott
w.red2.org/dailykount.txt Everything works fine except for the fact that it resets everyonce and awhile. It doesn't reset at a certain point in the day it's just random I think. Thanks again! - Scott

POST and GET and CGI.pm

2004-06-08 Thread Scott Stearns
always used the param() method in CGI.pm and it is working for both GETs and POSTs. I'm wondering if I'm missing something and if there are times when using the CGI.pm param() method is not advised. Thanks. -Scott -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail

RE: How to host CGI scripts ?

2004-06-18 Thread Scott Statland
would stay away form IIS. Too insecure, even with all the patches. Use Apache. Scott -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>

Re: path problem

2005-04-09 Thread Peter Scott
#x27;use lib $ENV{HOME}; print grep /peter/ => @INC' /home/peter $ -- Peter Scott http://www.perlmedic.com/ http://www.perldebugged.com/ -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>

Re: Adding a comma to format localtime

2007-04-12 Thread Peter Scott
To create this result: >>> Mon 9 Apr 2007 09:15:05 >>> >>> How can I add a comma to this result to get: >>> Mon, 9 Apr 2007 09:15:05 Personally, I find this more maintainable and readable: use POSIX qw(strftime); my $datetime = strftime "%a, %d %b %Y %T&q

Re: What is the function value in perl?

2008-01-05 Thread Peter Scott
like F3, F9.. Type "perldoc -q single" and that should get you started. -- Peter Scott http://www.perlmedic.com/ http://www.perldebugged.com/ -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/

Re: What is the function value in perl?

2008-01-12 Thread Peter Scott
in perl? Go to www.google.com. Enter 'perl read function key' (without the quotes). Follow the first link. -- Peter Scott http://www.perlmedic.com/ http://www.perldebugged.com/ -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/

Re: Include PHP file inside the cgi script

2008-05-28 Thread Peter Scott
able definition, parse out the value assigned. Assuming it's a straightforward variable = value statement. If it's computed in some way, that won't work. -- Peter Scott http://www.perlmedic.com/ http://www.perldebugged.com/ -- To unsubscribe, e-mail: [EMAIL PROTECTED] For addit

Re: Carry Variable to Form

2008-09-21 Thread Peter Scott
, the happier you'll be. -- Peter Scott http://www.perlmedic.com/ http://www.perldebugged.com/ -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/

Re: Sending intermediate response for a long running cgi script

2009-01-27 Thread Peter Scott
time > limit has passed, then have the final result sent back when the > processing is finished. > > I'm a complete neophyte when it comes to cgi & http stuff else the > answer would proly be obvious, but what's the best approach to solving > this? http://www.sto

Re: PERL CGI SCRIPT killed by apache on client abort

2011-03-28 Thread Peter Scott
t apache's fault, it's the client's fault for not finishing what it said it would do or your script's fault for not trapping an exception it needs to handle. -- Peter Scott http://www.perlmedic.com/ http://www.perldebugged.com/ http://www.informit.com/store/product.as

Re: need help with a form

2011-11-28 Thread Peter Scott
n target of the form is an HTML page instead of a CGI program. What code have you got so far? -- Peter Scott http://www.perlmedic.com/ http://www.perldebugged.com/ http://www.informit.com/store/product.aspx?isbn=0137001274 http://www.oreillyschool.com/certificates/perl-programming.php -

Re: Attach iCal event to an cgi mail

2012-06-07 Thread Peter Scott
On Mon, 04 Jun 2012 10:37:35 -0700, Marek wrote: > Could somebody please tell me, how can I see into a FILEHANDLE in Perl > debugger? I tried with > x but I get only "empty array". That filehandle is open for *output* in your program! What is it you want to examine? -

Re: Attach iCal event to an cgi mail

2012-06-11 Thread Peter Scott
ndle is opened for writing. Is there any means to look > inside? How to redirect the content of SENDMAIL in the debugger? > > Am Donnerstag, 7. Juni 2012 06:19:43 UTC+2 schrieb Peter Scott: >> On Mon, 04 Jun 2012 10:37:35 -0700, Marek wrote: >> >> > Could somebody please te

Re: At wits end CG::unescape

2014-12-08 Thread Peter Scott
t a difference. -- Peter Scott http://www.perlmedic.com/ http://www.perldebugged.com/ http://www.oreillyschool.com/certificates/perl-programming.php http://www.informit.com/store/product.aspx?isbn=9780133036268 -- To unsubscribe, e-mail: beginners-cgi-unsubscr...@perl.org For additional comma

Generating a Thumbnail on-the-fly

2001-10-15 Thread Scott Heckel
I'm looking for some help. I need to know how to generate a thumbnail on the fly. Also, I was wondering, does that take an excessive amount of processing time to do? Because I'll be doing it to between 5-25 pictures at a time. Thanks for any help. - Scott

RE: email address checker...

2001-12-20 Thread Scott Lutz
Here is a link to Mail::CheckUser : http://aspn.activestate.com/ASPN/Cookbook/Rx/Recipe/65255 Scott Lutz technical support Pacific Online http://www.paconline.net -Original Message- From: Jeremy Webster [mailto:[EMAIL PROTECTED]] Sent: December 20, 2001 2:31 PM To: [EMAIL PROTECTED

versions of CGI.pm

2002-01-04 Thread Scott Lutz
Why is it when you specify different version of CGI types, ie. use CGI ':cgi-lib'; use CGI ':standard'; use CGI; that sometimes code will work, and other times you get nothing? Does anyone know of a good URL for reference on this? Thanks. Scott Lutz Pacific Online Support

OpenSRS

2002-02-12 Thread Scott Lutz
possible), yet maintain state and security. Does anyone have any good pointers and/or advice here? Scott Lutz -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: sendmail

2002-03-04 Thread Scott Lutz
If you want the format to be text/plain, then it is not possible. Why not just link to a redirect script? Scott Lutz Pacific Online Support Phone: 604.638.6010 Fax: 604.638.6020 Toll Free: 1.877.503.9870 http://www.paconline.net -Original Message- From: Rahul Garg [mailto:[EMAIL

Re: libwww-perl and URI modules for 5.005_02

2002-07-10 Thread Peter Scott
compilation problem. The error you cite is a run-time error that is not indicative of using too old a perl. Recommendation: use the *latest* libwww and URI. (Get Bundle::LWP.) You haven't shown your program here so we can't tell how the error might lie there, but here's a h

Re: Creating a shopping cart

2002-08-12 Thread Scott Statland
Go to commercecgi.com or commercesql.com, they are two excellent open source cart scripts. They can fully be modified / customized to suit your needs and you can go through the scripts to see how it's done. Scott >From: "Octavian Rasnita" <[EMAIL PROTECTED]> >To: &

Setting up CGI with IIS

2002-12-16 Thread Emma Scott
Hi, I am trying to get an example working to get me started but all I get is a message: "CGI Timeout The specified CGI application exceeded the allowed time for processing. The server has deleted the process." I am working with IIS on NT. I have installed perl and configured IIS to associate .pl a

help with HTTP::Request for POST

2003-02-18 Thread Scott Lutz
$ua->request(POST 'https://domains/perl/reg_system.cgi', [ domain => $q->param("domain"), affiliate_id => $q->param("affiliate_id"), action => $q->param("lookup"),

RE: help with HTTP::Request for POST

2003-02-18 Thread Scott Lutz
Thanks for the input drieux! All of the information that I have found has said that you can not change the form action using IE, which is why I was led to the server side method. I will try the javascript, to see how it works! Scott Lutz Pacific Online Support Phone: 604.638.6010 Fax

RE: Another Regex question.

2003-07-23 Thread Hall, Scott
Sara, You can use "ucfirst". $TS =~ s/(\w+)/ucfirst lc $1/ge; Scott -Original Message- From: Sara [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 23, 2003 12:59 PM To: org Subject: Another Regex question. $TS = "THIS INPUT IS IN ALL CAPS"; $TS_cont = lc $TS;

RE: Regex and Email address.

2003-08-14 Thread Hall, Scott
Regexes are always more fun :) How else can you write a program with almost no letters. $email =~ s/(?<[EMAIL PROTECTED]).*$/.../; perldoc perlre search for 'look-behind' Scott -Original Message- From: Wiggins d'Anconia [mailto:[EMAIL PROTECTED] Sent: Tuesday, Aug

RE: Regex and Email address.

2003-08-14 Thread Hall, Scott
Comments?? Who needs comments? My code is 'self-documenting' LOL Scott PS: The regex engine is your friend. -Original Message- From: Wiggins d'Anconia [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 06, 2003 8:08 PM To: Hall, Scott Cc: [EMAIL PROTECTED] Subject: Re:

RE: Home Server

2001-05-29 Thread Scott Thompson
Good luck! ++++ || UNIREZ, Inc. Scott Thompson || ++---+++ || Address: 2555 Southwest Grapevine Parkway | Title:

RE: Home Server

2001-05-30 Thread Scott Thompson
takers?? :) ++++ || UNIREZ, Inc.Scott Thompson || ++---+++ || Address: 2555 Southwest Grapevine Parkway | Title

RE: Home Server

2001-05-30 Thread Scott Thompson
++ || UNIREZ, Inc. Scott Thompson || ++---+++ || Address: 2555 Southwest Grapevine Parkway | Title: Programmer || || Suite 200

RE: Retrieving cookies

2001-06-01 Thread Scott Thompson
;-domain=>'.biola.edu'); > print $q->header(-cookie=>$myCookie); > > %cook = $q->cookie(-name=>'Fyre'); > You can reference your cookie with: $cook{'Fyre

Form - Password security

2001-06-13 Thread scott lutz
I am wondering if anyone has any experience with the Rot13.pm? I am looking for a module to encrypt the log-in password from a form, and am unfamiliar with all of the modules on CPAN, and so am looking for some feedback. Thanks scott

Re: Form - Password security

2001-06-13 Thread scott lutz
Do you think it would be safe to assume that most web hosts would have this enabled on their machines? >From reading the README file it seems that it was depricated. _ Get Your Private, Free E-mail from MSN Hotmail at http:/

Re: beginner's addressbook tutorial - step 3 - creating perlclasses and our first cgi

2001-06-13 Thread Ken Scott
;s header() function? I thought that it did the same thing, and might be a little clearer in intent. Also, would it be possible to create a link at the end of each step of the tutorial to go to the next step? So far, this is an excellent tutorial. Thanks for taking the time to do it. Ken Sc

Re: quoted text in a perl form text field problem...

2001-06-14 Thread scott lutz
You could search out the "quotes" and replace with "nothing" $input =~ s/\"//; _ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.

RE: Directory Structure under Win32 (Perl, CGI, Apache, MySQL)

2001-06-15 Thread Scott Thompson
sr/bin/perl At the top of your scripts without having to worry about changing your scripts. ++++ || UNIREZ, Inc.Scott Thompson || ++---

"header() method" Problem

2001-06-21 Thread scott lutz
n, ( I am looking to use $q->referer ) Does anyone have any experience dealing with this?? :o) scott _ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.

Re: Required Fields Module

2001-07-10 Thread Ken Scott
al problem at hand? Just my opinion, Ken -- ><> Ken Scott [EMAIL PROTECTED] http://www.pcisys.net/~kscott This is the day that the Lord has made; I will rejoice and be gl

A .pm module question

2001-07-24 Thread David Scott
and have no idea how to fix this. If I run: test CPAN, it says everything is ok. If I run: test CGI it fails 16 out of 17 tests. I think I need to know how to reinstall CGI, but that might just be the tip of the iceberg. Can someone help me please? David Scott -- To unsubscribe, e-mai

Re: Perl Boilerplate???

2001-06-28 Thread Peter Scott
Maybe this is why you haven't found any examples :-) -- Peter Scott Pacific Systems Design Technologies http://www.perldebugged.com

Re: DELETING A COOKIE

2001-07-29 Thread Peter Scott
cookies I set it with a path and expiry data. Will this >have any thing to do with it? -- Peter Scott Pacific Systems Design Technologies http://www.perldebugged.com -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Renaming a File

2001-09-10 Thread Scott Heckel
Is there a function that will let you rename a file from say file.txt to file.bck? Thanks. - Scott

RE: deleting a file

2001-11-23 Thread Scott Ryan
system ("rm $file"); -Original Message- From: Jan-Willem Haaring [mailto:[EMAIL PROTECTED]] Sent: 23 November 2001 15:04 To: Wagner Garcia Campagner Cc: [EMAIL PROTECTED] Subject: Re: deleting a file unlink("/directory/filename"); perldoc -f unlink - JW On Fri, 23 Nov 2001, Wagner G

Re: bind values and cgi params

2005-01-08 Thread Scott R. Godin
no additional jiggery-pokery going on (like people trying to inject sql into your query with ?position="25;delete from 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
t for when you 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
print Tr( td( [EMAIL PROTECTED] )); } print end_table(); Off the top of my head ... that should do it. note that his use of [EMAIL PROTECTED] 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( [

Re: Simple table question?

2005-01-08 Thread Scott R. Godin
y click the image filenames above to preview each image before making your decision."), p("Note that this only removes the selected images from the database entry, and does ", b("not"), " delete the files 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 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: Insecure dependency in glob ... with -T switch

2005-01-21 Thread Scott R. Godin
l pathname. 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

Re: Module confusion

2005-02-08 Thread Scott R. Godin
#x27;s environment, however ssh is a viable alternative. -- 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: perl-CGI module - post method

2005-02-08 Thread Scott R. Godin
; since he clearly illustrates the use of the object-oriented syntax in 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 s as separate values. too. -- Scott R. Godin Laughing Dr

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 s as separate values. too. $cgi->Vars separates multi

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: [EMA

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

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 s as separate values.

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 s as separate values.

Re: Script execution time.

2005-08-04 Thread Scott R. Godin
Zentara wrote: On Wed, 3 Aug 2005 03:00:01 -0700, [EMAIL PROTECTED] (Sara) wrote: I have to test/optimize a script on a shared server. The script contains a couple of mySQL queries etc. Is there a way that I can see the query execution time (like in phymyAdmin) and total script execution tim

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 w

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

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 a

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 an

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 n

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 i

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 al

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

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 (wh

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: > > Line1 > Line2 > > What I need is: > > Line1Line2 > > Do you know how to get rid of the returns altogether? s/\015\012|\015|\012//g

Re: accessing yahoo mail through text mode/shell

2001-11-30 Thread Scott R. Godin
rivately for more > information. One word of warning: You SPAM with it and you get dropped like > a turd in an operating room. > > Mike > Hopefully sterilized as well so they don't continue to breed. :-) print pack "H*", "4a75737420416e6f74686572204d61635065726

Re: uploading file

2001-11-30 Thread Scott R. Godin
ays the best option as the cgi-docs.html file that COMES with a fresh install of CGI.pm is updated more frequently than the one on the website is. (for mysterious reasons known only to Lincoln :-) print pack "H*", "4a75737420416e6f74686572204d61635065726c204861636b65722c0d";

Re: Program dilema

2001-11-30 Thread Scott R. Godin
ires Class::Multimethods also to be installed) #!perl use warnings; use strict; use Quantum::Superpositions; my @myarray = qw( 10 34 6 87 9 ); print "ok any 'eq 10'\n" if any(@myarray) eq "10"; print "not ok all '< 85'\n" unless all(@myar

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

2001-12-03 Thread Scott R. Godin
ated > so much, uh, spam. {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 PROTECT

Re: Need basic commands on perl programming

2001-12-07 Thread Scott R. Godin
e plenty of example scripts there as well. 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 vi

Re: Next 10 Results Help Needed

2001-12-07 Thread Scott R. Godin
inancial incentive? :) 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 to speak off-group. I read these v

Thumbnail images on-the-fly

2002-01-16 Thread Scott R. Godin
efficient for a job like this. any pointers? I'm happy to toddle off and download and read my face off -- that's not a problem.. I'd just like to have some indication on which direction to start walking. :-) print pack "H*", "4a75737420416e6f74686572204d6163506572

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

Installing Perl Help

2002-02-26 Thread Scott E Svendsen
indication it did anything. Doing a perl -v gives me the same old version. Doign a search doesnt turn up any new 5.6.1 folders. I need help please. Thanks Scott -- 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
l cannot get out. Until now they didn't. Obviously, 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 Service

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-mai

CGI->compile();

2001-10-25 Thread Scott R. Godin
if httpd.conf has a pointer to a perl 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-mai

Re: Docs

2001-10-26 Thread Scott R. Godin
u should also consider that the docs that come with CGI.pm when you build it include an html formatted 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] Lau

Re: (simple) cgi.pm question

2001-10-26 Thread Scott R. Godin
rt keys %params; # that is the correct idiom, right? > instead 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."

Re: somone please help

2001-10-26 Thread Scott R. Godin
don't press when you mean to press 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]

mod_perl and nntp.perl.org

2001-10-28 Thread Scott R. Godin
ought, but I'd like to know perhaps a better place to pose such a question.. beginners.cgi obviously isn't the best place for it, but it's the closest thing I could find, here, to a starting point :) anyone? -- Scott R. Godin| e-mail : [EMAIL PROTECTED] Laughing

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 o

Re: Free Mac Private Perl server

2001-10-31 Thread Scott R. Godin
acperl.org/ MacPerl is currently in a beta build with regards to perl 5.6.1. That version does not currently support .cgi scripts as of yet. The 520r4 build (5.004) of MacPerl does, but if your .cgi's are large and consume much temporary memory while running, they may not work under this me

Re: quotemeta regex

2001-10-31 Thread Scott R. Godin
=map;where=other;item="p aram1%20param2%20param3" try encoding the string using CGI.pm's escape functions (see cgi-docs.html for URI 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
but what are we doing? living in the stone-age of HTML back from before 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,

Re: Free Mac Private Perl server

2001-10-31 Thread Scott R. Godin
d Apache due to it's unix > underpinnings, but I hate the UI and so many other things about it (mouse > speed maxes out at half what MacOS 9 runs at). > > I'll check out dev.macperl.org. > > Thanks Scott 5.6.1b1 has been damned steady and what few bugs I've found

Re: CGI.pm popup_menu

2001-10-31 Thread Scott R. Godin
popup_menu(-name=>'baths', -Values=>\%labels, -default=>'1'), submit(-name=>'submit', -Value=>'Click Me'), end_form(), end_html; the following output gets produced: Content-Type: text/html; charset=ISO-8859-1

Re: Printing Hash Keys

2001-11-16 Thread Scott R. Godin
now about a certain command, like vec, you can open up a quick MacPerl window and write #!perl vec(); 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|

Re: Printing Hash Keys

2001-11-16 Thread Scott R. Godin
ngs as pipes, although OS X 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]

Re: Sort or Array Assigning problem???

2001-11-16 Thread Scott R. Godin
t", @sortedrands), "\n"; # I don't understand why you do this: > foreach $anumber (@sorted_a) { > @sorted_field = split (/,/, $anumber); when the @sorted_a's list items are not themselves separated by commas, but individually in the array elements themsel

Re: MySQL and Perl...

2001-11-16 Thread Scott R. Godin
ter than the origianl documentation ^^ 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

Re: force a refresh?

2001-11-17 Thread Scott R. Godin
e, then redirecting the user 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 : htt

Re: How Should I Install Perl?

2001-11-17 Thread Scott R. Godin
e but it doesn't exist. Do I have 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.

Re: XML Header

2001-11-22 Thread Scott R. Godin
1998/06/xmlspec.dtd> and you *should* use it. for example 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 PROTECT

Re: Getting past "Use of uninitialized value..."

2001-11-21 Thread Scott R. Godin
hen slide back out to main again. a semi-slick workaround for a semi-ugly problem. supresses all those 'used only once' warnings quite nicely though. -- Scott R. Godin| e-mail : [EMAIL PROTECTED] Laughing Dragon Services |web : http://www.webdragon.net/ It is not necessa

Re: CGI.pm problems continued

2001-11-20 Thread Scott R. Godin
ng with references, by all means use %in, but you'll find the similarities between the objects to be *very* similar to how CGI works with objects, and also a few peeks at perlref, perllol, perldsc to be of enlightening proportions. -- Scott R. Godin| e-mail : [EMAIL PROTECTE

Re: Table Options.

2001-11-24 Thread Scott R. Godin
ts and pieces, as well as CSS references. I find that using CSS and embedding Stylesheets in my CGI's to be of much more use than attempting to include dozens of tags and color tags and whatnot. Also a validator like <http://validator.w3.org/> and the companion CSS validator

  1   2   >