Re: Why perl lost steam...

2010-09-21 Thread Randal L. Schwartz
language here]. -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 mer...@stonehenge.com URL:http://www.stonehenge.com/merlyn/ Smalltalk/Perl/Unix consulting, Technical writing, Comedy, etc. etc. See http://methodsandmessages.vox.com/ for Smalltalk and Seaside discussion

Re: Auto detect timezone

2009-05-25 Thread Randal L. Schwartz
/Los_Angeles As I would expect. -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 mer...@stonehenge.com URL:http://www.stonehenge.com/merlyn/ Smalltalk/Perl/Unix consulting, Technical writing, Comedy, etc. etc. See http://methodsandmessages.vox.com/ for Smalltalk and Seaside

Re: FormMail within a CGI Script

2008-09-20 Thread Randal L. Schwartz
=confirmed.htmlerror=error.html; Mike METHOD=POST, Mike INPUT NAME=recipient TYPE=HIDDEN VALUE=myaddress, Mike TABLE, You need a Perl program, not a mashup of two different things. -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 [EMAIL PROTECTED] URL:http

Re: CGI query and FORM

2007-12-13 Thread Randal L. Schwartz
(param); if (param('lab') eq 'pager') { ... } -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 [EMAIL PROTECTED] URL:http://www.stonehenge.com/merlyn/ Perl/Unix/security consulting, Technical writing, Comedy, etc. etc. See PerlTraining.Stonehenge.com for onsite

Re: Stripping HTML code from emails

2006-11-09 Thread Randal L. Schwartz
that will Richard convert it to plain text or just strip the HTML. Does anyone have any Richard ideas on a module to-do this? See my article A MIME is a terrible thing to waste, http://www.stonehenge.com/merlyn/UnixReview/col37.html. -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777

Re: Tracking/Blocking IPs.

2005-11-03 Thread Randal L. Schwartz
*that* to be automated and worked around. There is no ultimate solution. Only a series of solutions depending on your willingess to spend money to keep the bad guys out. -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 merlyn@stonehenge.com URL:http://www.stonehenge.com/merlyn

Re: Taking Multiple Values for The Same Form Field.

2005-10-29 Thread Randal L. Schwartz
name2 email2 name3 email3 -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 merlyn@stonehenge.com URL:http://www.stonehenge.com/merlyn/ Perl/Unix/security consulting, Technical writing, Comedy, etc. etc. See PerlTraining.Stonehenge.com

Re: Book Recommendation: Secure web programming ?

2005-10-08 Thread Randal L. Schwartz
such things get near a shell. Use multi-arg exec or system, or multi-arg open to fork-and-pipe. -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 merlyn@stonehenge.com URL:http://www.stonehenge.com/merlyn/ Perl/Unix/security consulting, Technical writing, Comedy, etc

Re: New Website for Perl Beginners: perlmeme.org

2005-10-02 Thread Randal L. Schwartz
://learn.perl.org. I think this represents broken integrity on your part, since you appear to be trying to replace learn.perl.org, not supplement it, so you're attempting to fracture the community, not enhance it. If you add a prominent link to learn.perl.org, I will withdraw my complaint. -- Randal L

Re: Help w/Modules

2005-09-25 Thread Randal L. Schwartz
in an entire application? That's why I created CGI::Prototype::Hidden... to lazy-load the code for the particular step of the application. -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 merlyn@stonehenge.com URL:http://www.stonehenge.com/merlyn/ Perl/Unix/security

Re: How big is too big?

2005-09-17 Thread Randal L. Schwartz
. -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 merlyn@stonehenge.com URL:http://www.stonehenge.com/merlyn/ Perl/Unix/security consulting, Technical writing, Comedy, etc. etc. See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training

Re: What about perlcc?

2005-06-20 Thread Randal L. Schwartz
Augusto == Augusto Flavio [EMAIL PROTECTED] writes: Augusto Hi did you pay attention to ANY of the answers? Augusto Yes, I pay attention in all answers. Apparently not, because you're still trying to hide your source code. STOP THAT. Can we make it any clearer? -- Randal L. Schwartz

Re: What about perlcc?

2005-06-19 Thread Randal L. Schwartz
Augusto == Augusto Flavio [EMAIL PROTECTED] writes: Augusto What i do?! Unless you're not the same person who asked this question earlier here, my question to you is: did you pay attention to ANY of the answers? have you read the FAQ? -- Randal L. Schwartz - Stonehenge

Re: hide source code

2005-06-18 Thread Randal L. Schwartz
Glauco == Glauco Magnelli [EMAIL PROTECTED] writes: Glauco I would hide source code in my CGI Perl scripts. Just make it so crappy that no one will want to steal it. :-) -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 merlyn@stonehenge.com URL:http

Re: Just to know why ?: is not working here

2005-06-15 Thread Randal L. Schwartz
, to be avoided. -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 merlyn@stonehenge.com URL:http://www.stonehenge.com/merlyn/ Perl/Unix/security consulting, Technical writing, Comedy, etc. etc. See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl

Re: How to save the state of a CGI script

2005-05-29 Thread Randal L. Schwartz
was able to sort on different columns passing the list explicitly. Ankur --Ankur Ankur Whatever games are played with us, we must play no games with ourselves. - Ankur Ralph Waldo Emerson -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 merlyn@stonehenge.com URL:http

Re: How to save the state of a CGI script

2005-05-29 Thread Randal L. Schwartz
Ankur == Ankur Gupta [EMAIL PROTECTED] writes: Ankur a.cgi calls b.cgi through POST method. Why? Why? CGI is a protocol that permits a server to launch a process to handle a browser hit. YOU SHOULD NOT HAVE CGI calling EACH OTHER. :-( -- Randal L. Schwartz - Stonehenge Consulting Services

Re: No appending...

2005-05-18 Thread Randal L. Schwartz
Nate. -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 merlyn@stonehenge.com URL:http://www.stonehenge.com/merlyn/ Perl/Unix/security consulting, Technical writing, Comedy, etc. etc. See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training

Re: No appending...

2005-05-18 Thread Randal L. Schwartz
or using fopen instead Nathaniel of open. I welcome your comments and thanks for the help. fopen() means you are creating an unbuffered filehandle, just like my code said to do. :) -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 merlyn@stonehenge.com URL:http

Re: No appending...

2005-05-18 Thread Randal L. Schwartz
; to Wert, system(sleep 1); and the script runs perfectly. Then the system() is also forcing a flush of all filehandles. You can avoid the external process using the method I gave earlier. It's not the sleep. It's the lack of unbuffering. -- Randal L. Schwartz - Stonehenge Consulting Services, Inc

Re: CGI::Cookie Reading.

2005-03-29 Thread Randal L. Schwartz
. You can't *read* a cookie that hasn't been sent to you by a browser yet. And the browser isn't going to send you a cookie until the *second* hit, because the cookie is being set in the *first* hit. -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 merlyn

Re: Calling subroutines

2005-03-21 Thread Randal L. Schwartz
that. Please pay attention to the proper solutions provided elsewhere. For one, your example will fail on use strict, which is what every program larger than 10 lines should use. And your exact example is what it tries to rule out. -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1

Re: Send equivalent of this via perl

2005-03-16 Thread Randal L. Schwartz
, Lawrence and then forward the massaged data to Paypal on their behalf? My spider sense is tingling. -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 merlyn@stonehenge.com URL:http://www.stonehenge.com/merlyn/ Perl/Unix/security consulting, Technical writing, Comedy, etc

Re: Unsticky fields with CGI? (Sorry)

2005-03-11 Thread Randal L. Schwartz
you'll have to do it manually: $query-param('hidden_name','new','values','here'); Or, you can call $query- (why are you using the object form?) delete('name') Then the default listed in your field generator will be used. -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777

Re: How to avoid accidental re-sending of POST data

2004-12-03 Thread Randal L. Schwartz
you when you want to do that but I was Ingo wondering whether there is an easy way to make it impossible. http://www.stonehenge.com/merlyn/WebTechniques/col64.html -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 [EMAIL PROTECTED] URL:http://www.stonehenge.com/merlyn

Re: What exactly does $| = 1; do?

2004-11-30 Thread Randal L. Schwartz
before the headers. -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 [EMAIL PROTECTED] URL:http://www.stonehenge.com/merlyn/ Perl/Unix/security consulting, Technical writing, Comedy, etc. etc. See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl

Re: HINT: regex coach

2004-09-09 Thread Randal L. Schwartz
. Jose There, I said it :-) Me too. -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 [EMAIL PROTECTED] URL:http://www.stonehenge.com/merlyn/ Perl/Unix/security consulting, Technical writing, Comedy, etc. etc. See PerlTraining.Stonehenge.com for onsite and open-enrollment

Re: CGI.pm : Handling Carriage Returns from textarea()

2004-09-09 Thread Randal L. Schwartz
Robert == Robert Page IV [EMAIL PROTECTED] writes: Robert Woops! XMP is deprecated with HTMl 4.01. Robert Sorry for the extra message. XMP has been deprecated for over half the age of the web. :) -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 [EMAIL PROTECTED

Re: Mailing Script

2004-07-08 Thread Randal L. Schwartz
, and within a short period of time, you will also be on every spam blocklist that I can possibly suggest. Do *not* send email to addresses taken from forms. Ever. -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 [EMAIL PROTECTED] URL:http://www.stonehenge.com/merlyn/ Perl

Re: Mailing Script

2004-07-08 Thread Randal L. Schwartz
. -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 [EMAIL PROTECTED] URL:http://www.stonehenge.com/merlyn/ Perl/Unix/security consulting, Technical writing, Comedy, etc. etc. See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training

Re: Mailing Script

2004-07-08 Thread Randal L. Schwartz
something double opt-in. :) -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 [EMAIL PROTECTED] URL:http://www.stonehenge.com/merlyn/ Perl/Unix/security consulting, Technical writing, Comedy, etc. etc. See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl

Re: Unexpected CGI and HTML

2004-06-25 Thread Randal L. Schwartz
. -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 [EMAIL PROTECTED] URL:http://www.stonehenge.com/merlyn/ Perl/Unix/security consulting, Technical writing, Comedy, etc. etc. See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training! -- To unsubscribe, e

Re: Hijacking forms [was help with adjusting log file data?]

2004-06-13 Thread Randal L. Schwartz
to be backwhacked. This regex looks cargo-culted... {sigh}. -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 [EMAIL PROTECTED] URL:http://www.stonehenge.com/merlyn/ Perl/Unix/security consulting, Technical writing, Comedy, etc. etc. See PerlTraining.Stonehenge.com for onsite

Re: CGI and mySQL book, any recommendation.

2004-05-29 Thread Randal L. Schwartz
without the other. So it'd be hard to find a single comprehensive book on both. -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 [EMAIL PROTECTED] URL:http://www.stonehenge.com/merlyn/ Perl/Unix/security consulting, Technical writing, Comedy, etc. etc. See

Re: CGI and mySQL book, any recommendation.

2004-05-29 Thread Randal L. Schwartz
could help. Please, never ever post the URL to your website. Blind leading Blind comes to mind. -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 [EMAIL PROTECTED] URL:http://www.stonehenge.com/merlyn/ Perl/Unix/security consulting, Technical writing, Comedy, etc

Re: CGI and mySQL book, any recommendation.

2004-05-29 Thread Randal L. Schwartz
. The only reason to use MySQL these days is ignorance or legacy. -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 [EMAIL PROTECTED] URL:http://www.stonehenge.com/merlyn/ Perl/Unix/security consulting, Technical writing, Comedy, etc. etc. See PerlTraining.Stonehenge.com

Re: Only one click please

2004-05-27 Thread Randal L. Schwartz
.html. -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 [EMAIL PROTECTED] URL:http://www.stonehenge.com/merlyn/ Perl/Unix/security consulting, Technical writing, Comedy, etc. etc. See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training

Re: Redirecting

2004-05-20 Thread Randal L. Schwartz
the parameters visible? Is there an Jan alternative method for redirection (in fact, it's a recursive Jan call to the script)? Redirect using a session ID instead. Generate a nice unguessable value, and then tie that with a server-side database to the actual username. -- Randal L. Schwartz - Stonehenge

Re: handling multiple select with CGI

2004-03-17 Thread Randal L. Schwartz
= $cgi-Vars', wouldn't I only get the last value? Don't do that. Use param(): use CGI qw(param); my $one_value = param('selectname'); # gives one of them my @all_values = param('selectname'); # gives *all* of them -- Randal L. Schwartz - Stonehenge Consulting Services, Inc

Re: Webhosting with good Perl support

2004-02-14 Thread Randal L. Schwartz
compatible packages in exchange for more security. -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 [EMAIL PROTECTED] URL:http://www.stonehenge.com/merlyn/ Perl/Unix/security consulting, Technical writing, Comedy, etc. etc. See PerlTraining.Stonehenge.com for onsite

Re: CGI Script to annoy script kiddies.

2004-02-06 Thread Randal L. Schwartz
Carl == Carl Fischer [EMAIL PROTECTED] writes: Carl if (defined $ARGV[0] == FALSE) { What do you expect this to do? -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 [EMAIL PROTECTED] URL:http://www.stonehenge.com/merlyn/ Perl/Unix/security consulting, Technical

Re: LWP get with no cache (code)

2004-01-23 Thread Randal L. Schwartz
exactly the same way. No. CGI.pm works better. Much better. use CGI.pm, please. -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 [EMAIL PROTECTED] URL:http://www.stonehenge.com/merlyn/ Perl/Unix/security consulting, Technical writing, Comedy, etc. etc. See

Re: LWP get with no cache (code)

2004-01-22 Thread Randal L. Schwartz
further. My mind rejects CGI scripts that are written this poorly. -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 [EMAIL PROTECTED] URL:http://www.stonehenge.com/merlyn/ Perl/Unix/security consulting, Technical writing, Comedy, etc. etc. See PerlTraining.Stonehenge.com

Re: large directory handling

2004-01-05 Thread Randal L. Schwartz
lists, either it *is* a CGI problem, or it isn't. -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 [EMAIL PROTECTED] URL:http://www.stonehenge.com/merlyn/ Perl/Unix/security consulting, Technical writing, Comedy, etc. etc. See PerlTraining.Stonehenge.com for onsite

Re: Getting a users IP addy

2003-12-25 Thread Randal L. Schwartz
). And given that this already outnumbers any other significant userbase for your website... I think I can safely say logging IP addresses is OK, but using them to define unique users will totally fail. -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 [EMAIL PROTECTED

Re: encrypting email address (to prevent spam)

2003-12-17 Thread Randal L. Schwartz
a question like this in multiple places, and unethical to not disclose that it has been asked in such a manner. -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 [EMAIL PROTECTED] URL:http://www.stonehenge.com/merlyn/ Perl/Unix/security consulting, Technical writing, Comedy

Re: Fork

2003-12-09 Thread Randal L. Schwartz
one of the articles you get from the following google search: site:stonehenge.com cgi fork should be able to help you out. -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 [EMAIL PROTECTED] URL:http://www.stonehenge.com/merlyn/ Perl/Unix/security consulting

Re: extracting email addys.

2003-11-23 Thread Randal L. Schwartz
memes, security holes, hiding code, and one other thing that escapes me now. The rest, I live and let live. -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 [EMAIL PROTECTED] URL:http://www.stonehenge.com/merlyn/ Perl/Unix/security consulting, Technical writing

Re: extracting email addys.

2003-11-22 Thread Randal L. Schwartz
, and give more details about the John FAQ? It is a beginners' list after all. It's just that we keep seeing this over and over again. That's the point of the FAQ. What happened to the ethic of even ATTEMPTING to look for a local FAQ before posting to a list. {sigh} -- Randal L. Schwartz - Stonehenge

Re: extracting email addys.

2003-11-20 Thread Randal L. Schwartz
Silent == Silent Zed [EMAIL PROTECTED] writes: Silent You could very simply match the email address, like so: Silent $text =~ m/[EMAIL PROTECTED]/g; WRONG. WRONG WRONG WRONG. Please read the FAQ on this. And dare I say again, WRONG. -- Randal L. Schwartz - Stonehenge Consulting Services

Re: Apache Logs

2003-10-03 Thread Randal L. Schwartz
on the first page of the search result by typing apache logs in search.cpan.org? Please learn to use the existing search engines. Please read the FAQ for this mailing list. -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 [EMAIL PROTECTED] URL:http://www.stonehenge.com/merlyn

Re: CGI.pm 2.98 breaks CGI::Carp?

2003-09-24 Thread Randal L. Schwartz
, $$), which should be fairly unique and yet short enough to cut and paste nicely. In fact, that'd be nice column idea! I needed one for TPJ today. Thanks. -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 [EMAIL PROTECTED] URL:http://www.stonehenge.com/merlyn/ Perl/Unix

Re: CGI.pm 2.98 breaks CGI::Carp?

2003-09-24 Thread Randal L. Schwartz
in Iraq under military orders until next April. -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 [EMAIL PROTECTED] URL:http://www.stonehenge.com/merlyn/ Perl/Unix/security consulting, Technical writing, Comedy, etc. etc. See PerlTraining.Stonehenge.com for onsite and open

Re: CGI.pm 2.98 breaks CGI::Carp?

2003-09-22 Thread Randal L. Schwartz
. -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 [EMAIL PROTECTED] URL:http://www.stonehenge.com/merlyn/ Perl/Unix/security consulting, Technical writing, Comedy, etc. etc. See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training

Re: Stripping HTML from a text file.

2003-09-05 Thread Randal L. Schwartz
-recover(1); my $d = $p-parse_html_fh(\*STDIN) or die; $_-unbindNode for $d-findnodes(/html/head); print $d-toStringHTML(); -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 [EMAIL PROTECTED] URL:http://www.stonehenge.com/merlyn/ Perl/Unix/security consulting

Re: disable back button

2003-08-25 Thread Randal L. Schwartz
always the wrong partial solution. This is a valid exchange of questions. -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 [EMAIL PROTECTED] URL:http://www.stonehenge.com/merlyn/ Perl/Unix/security consulting, Technical writing, Comedy, etc. etc. See

Re: Why executable?

2003-08-14 Thread Randal L. Schwartz
could even make it register.html for all that it matters (none!). -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 [EMAIL PROTECTED] URL:http://www.stonehenge.com/merlyn/ Perl/Unix/security consulting, Technical writing, Comedy, etc. etc. See

Re: urgent help needed!

2003-07-22 Thread Randal L. Schwartz
S == S Naqashzade [EMAIL PROTECTED] writes: S Dear Friends, S I need to trnaslate thid code to PHP. S Can any one help me? This is the *perl* beginners list. Not the PHP help desk. You must've pushed some buttons by mistake. -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1

Re: Difference of $hash, and %hash. (was Getting my head round hashes)

2003-06-06 Thread Randal L. Schwartz
and answered frequently and politely on the Perl IRC channels I monitor. CGI questions tend to ruffle feathers. Consistently. -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 [EMAIL PROTECTED] URL:http://www.stonehenge.com/merlyn/ Perl/Unix/security consulting

Re: Help creating HTML for immediate output, and more than once

2003-05-31 Thread Randal L. Schwartz
a multi-post. {sigh} -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 [EMAIL PROTECTED] URL:http://www.stonehenge.com/merlyn/ Perl/Unix/security consulting, Technical writing, Comedy, etc. etc. See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training

Re: help needed in frames with php

2003-03-16 Thread Randal L. Schwartz
Mel == Mel Awaisi [EMAIL PROTECTED] writes: Mel help needed in frames with php php questions are not really appropriate on a Perl help list, unless there's some Perl component as well. -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 [EMAIL PROTECTED] URL:http

Re: Previous and Next

2003-03-13 Thread Randal L. Schwartz
that possibly mean? That's either impossible or mis-specified. We need to know more before we could even begin to write code or answer it. -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 [EMAIL PROTECTED] URL:http://www.stonehenge.com/merlyn/ Perl/Unix/security consulting

Re: Random letters

2003-03-08 Thread Randal L. Schwartz
@charset = ('a'..'z', '0'..'9'); my $length_desired = 15; my $random_string = join , $charset[rand @charset], 1..$length_desired; -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 [EMAIL PROTECTED] URL:http://www.stonehenge.com/merlyn/ Perl/Unix/security consulting

Re: Learning Perl

2003-02-28 Thread Randal L. Schwartz
book to spend your first 30-40 hours while learning the language, no matter where you will be using Perl eventually. -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 [EMAIL PROTECTED] URL:http://www.stonehenge.com/merlyn/ Perl/Unix/security consulting, Technical writing

Re: Using variable to another script

2003-02-06 Thread Randal L. Schwartz
aren't encoding it properly. THere's already stuff in CGI.pm to do this for you properly. param(username, $username); print start_form(http://yourhost/another.cgi;), hidden(username), submit, end_form; -- Randal L. Schwartz - Stonehenge Consulting Services, Inc

Re: Naming a variable from value of a scalar.

2003-01-18 Thread Randal L. Schwartz
. -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 [EMAIL PROTECTED] URL:http://www.stonehenge.com/merlyn/ Perl/Unix/security consulting, Technical writing, Comedy, etc. etc. See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training! -- To unsubscribe

Re: HTML in perl autoresponders

2003-01-06 Thread Randal L. Schwartz
text email, so your HTML branch was stripped. -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 [EMAIL PROTECTED] URL:http://www.stonehenge.com/merlyn/ Perl/Unix/security consulting, Technical writing, Comedy, etc. etc. See PerlTraining.Stonehenge.com for onsite

Re: Running a Perl program countinuously

2002-11-16 Thread Randal L. Schwartz
Octavian == Octavian Rasnita [EMAIL PROTECTED] writes: Octavian How can I make it to start automaticly after stopping? while true do perl-command-goes-here done But why are you asking this in a CGI list? This has nothing to do with CGI. -- Randal L. Schwartz - Stonehenge Consulting

Re: Calculate PI

2002-11-03 Thread Randal L. Schwartz
that's a very very very very slow convergence. There are many better formulas. -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 [EMAIL PROTECTED] URL:http://www.stonehenge.com/merlyn/ Perl/Unix/security consulting, Technical writing, Comedy, etc. etc. See

Re: Looping

2002-10-13 Thread Randal L. Schwartz
Octavian == Octavian Rasnita [EMAIL PROTECTED] writes: Octavian I've tried with: Octavian foreach my $email (keys %list{'list_number1'}) { Octavian Octavian } Nearly. It's keys %{$list{'list_number1'}}. print Just another Perl hacker, -- Randal L. Schwartz - Stonehenge Consulting

Re: How to verify the email address?

2002-09-29 Thread Randal L. Schwartz
Wiggins == Wiggins D'Anconia [EMAIL PROTECTED] writes: Wiggins You may also want to consider using the Email::Valid module. Yeah, that's what the recent FAQ says. My mail is typed on an openbsd machine running 5.6.1, and it wasn't in there. -- Randal L. Schwartz - Stonehenge Consulting

Re: How to verify the email address?

2002-09-28 Thread Randal L. Schwartz
, such as with the characters reversed, one added or subtracted to each digit, etc. -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 [EMAIL PROTECTED] URL:http://www.stonehenge.com/merlyn/ Perl/Unix/security consulting, Technical writing, Comedy, etc. etc

Re: Creating thumbnails (Newbie Question)...

2002-09-21 Thread Randal L. Schwartz
. -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 [EMAIL PROTECTED] URL:http://www.stonehenge.com/merlyn/ Perl/Unix/security consulting, Technical writing, Comedy, etc. etc. See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training! -- To unsubscribe, e

Re: Post to a second CGI script

2002-07-30 Thread Randal L. Schwartz
have it turned off for security and abuse reasons. Javascript should never be used for essentials... only to enhance the experience. -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 [EMAIL PROTECTED] URL:http://www.stonehenge.com/merlyn/ Perl/Unix/security consulting

Re: Finding the country

2002-07-24 Thread Randal L. Schwartz
be easily spoofed. -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 [EMAIL PROTECTED] URL:http://www.stonehenge.com/merlyn/ Perl/Unix/security consulting, Technical writing, Comedy, etc. etc. See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl

Re: question about cgi-lib.pl

2002-07-24 Thread Randal L. Schwartz
where it refers to cgi-lib compatibility. -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 [EMAIL PROTECTED] URL:http://www.stonehenge.com/merlyn/ Perl/Unix/security consulting, Technical writing, Comedy, etc. etc. See PerlTraining.Stonehenge.com for onsite and open

Re: Getting the real email address?

2002-05-10 Thread Randal L. Schwartz
answers in the thread. -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 [EMAIL PROTECTED] URL:http://www.stonehenge.com/merlyn/ Perl/Unix/security consulting, Technical writing, Comedy, etc. etc. See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl

Re: exec CGI versus include virtual

2002-04-06 Thread Randal L. Schwartz
only mod_cgi as a response. You really want include virtual all the time. -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 [EMAIL PROTECTED] URL:http://www.stonehenge.com/merlyn/ Perl/Unix/security consulting, Technical writing, Comedy, etc. etc. See

Re: IP Address

2002-04-04 Thread Randal L. Schwartz
-of-proxies are used for millions of users. So again, I repeat: A user is not an IP address Get it through your head that using IP address for vote blockout is just ... WRONG. -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 [EMAIL PROTECTED] URL:http

Re: IP Address

2002-04-04 Thread Randal L. Schwartz
already done so. Do you really want to frustrate millions of people? IT DOESN'T WORK. DON'T EVEN TRY IT. {sigh} -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 [EMAIL PROTECTED] URL:http://www.stonehenge.com/merlyn/ Perl/Unix/security consulting, Technical writing

Re: existing username

2002-03-21 Thread Randal L. Schwartz
{ # it's new! } -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 [EMAIL PROTECTED] URL:http://www.stonehenge.com/merlyn/ Perl/Unix/security consulting, Technical writing, Comedy, etc. etc. See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training

Re: Re :Camel Book

2002-03-21 Thread Randal L. Schwartz
Sunish == Sunish Kapoor [EMAIL PROTECTED] writes: Sunish Want an HTML version of Programming Perl Second version (Free) . I would certainly hope that you are not serious. If you are, you'll be reported to O'Reilly's enforcement division. Pirating is no joke. -- Randal L. Schwartz

Re: cookies

2002-03-11 Thread Randal L. Schwartz
, and the script Matthew doesn't ask me: Please read http://www.stonehenge.com/merlyn/WebTechniques/col61.html before proceeding. It may be all you need to know. :) -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 [EMAIL PROTECTED] URL:http://www.stonehenge.com

Re: URL Fetcher Java/Perl

2002-03-06 Thread Randal L. Schwartz
domain, please get a freemail account and rejoin the list from there. -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 [EMAIL PROTECTED] URL:http://www.stonehenge.com/merlyn/ Perl/Unix/security consulting, Technical writing, Comedy, etc. etc. See

[DUPLICATE] Re: No access to /etc/protocols

2002-02-27 Thread Randal L. Schwartz
Paul == Paul Murphy [EMAIL PROTECTED] writes: Paul Hello everyone. This has been asked and answered on the beginners list. Please do not attempt to answer it here. -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 [EMAIL PROTECTED] URL:http://www.stonehenge.com

Re: Launching PERL from Email

2002-02-26 Thread Randal L. Schwartz
Perl hacker, -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 [EMAIL PROTECTED] URL:http://www.stonehenge.com/merlyn/ Perl/Unix/security consulting, Technical writing, Comedy, etc. etc. See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training

Re: Very serious security hole in your script

2002-02-26 Thread Randal L. Schwartz
Rob == Rob [EMAIL PROTECTED] writes: Rob Is there a good tutorial on untainting data received via a cgi script? Besides perldoc perlsec? -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 [EMAIL PROTECTED] URL:http://www.stonehenge.com/merlyn/ Perl/Unix/security

Re: Q: About perlcc, How to make multi-platform file.

2002-02-15 Thread Randal L. Schwartz
. Don't piss in the face of the rest of us. Not having to install Perl? Nope. Still need the libraries. So, why? -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 [EMAIL PROTECTED] URL:http://www.stonehenge.com/merlyn/ Perl/Unix/security consulting, Technical

Re: Image Galleries On-the-Fly

2002-02-08 Thread Randal L. Schwartz
::Pictures -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 [EMAIL PROTECTED] URL:http://www.stonehenge.com/merlyn/ Perl/Unix/security consulting, Technical writing, Comedy, etc. etc. See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training

Re: Hexadecimal Dictionary

2002-02-05 Thread Randal L. Schwartz
library. -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 [EMAIL PROTECTED] URL:http://www.stonehenge.com/merlyn/ Perl/Unix/security consulting, Technical writing, Comedy, etc. etc. See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training

Re: validation

2002-02-03 Thread Randal L. Schwartz
that accepts your regex. So be careful who you listen to. :) -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 [EMAIL PROTECTED] URL:http://www.stonehenge.com/merlyn/ Perl/Unix/security consulting, Technical writing, Comedy, etc. etc. See PerlTraining.Stonehenge.com

Re: mkdir in cgi-script

2002-01-20 Thread Randal L. Schwartz
, which everyone should be forced to review at least once a week until they have it memorized. :) -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 [EMAIL PROTECTED] URL:http://www.stonehenge.com/merlyn/ Perl/Unix/security consulting, Technical writing, Comedy, etc

Re: mkdir in cgi-script

2002-01-20 Thread Randal L. Schwartz
show. Please either *say* that or *show* that... we have a lot of beginners looking over your shoulder. -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 [EMAIL PROTECTED] URL:http://www.stonehenge.com/merlyn/ Perl/Unix/security consulting, Technical writing, Comedy

Re: Unfriendly messages from people who should know better

2002-01-03 Thread Randal L. Schwartz
about it, and still others will even disagree with both the manner and the goal. Oh well, this is life. Just another Perl hacker, -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 [EMAIL PROTECTED] URL:http://www.stonehenge.com/merlyn/ Perl/Unix/security consulting

Re: Perl Compiler

2002-01-02 Thread Randal L. Schwartz
outweighed by the disadvantages above. PLEASE STOP RECOMMENDING THIS PROGRAM. PLEASE POINT PEOPLE TO THE FAQ WHICH DETAILS THIS. -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 [EMAIL PROTECTED] URL:http://www.stonehenge.com/merlyn/ Perl/Unix/security consulting

Re: Perl Compiler

2002-01-02 Thread Randal L. Schwartz
code so that hundreds of others can adapt it and fix it as they see fit, and yet you want to squander that by locking up *your* application? require 'standard/open_source_is_good-speech.pl'; Don't expect much help *here*. -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777

Re: my hyperlink has spaces in it and fails

2001-12-13 Thread Randal L. Schwartz
trick: encode_entities($_) for $word, $display; since encode_entities modifies its first argument in a void context. -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 [EMAIL PROTECTED] URL:http://www.stonehenge.com/merlyn/ Perl/Unix/security consulting

Re: variables using blank spaces

2001-12-06 Thread Randal L. Schwartz
if $var contains quotes or ampersands. Escaping *is* what you need, but not URI-escaping. You want HTML-entitizing. Or simpler yet: use CGI qw(hidden); print hidden(var, $var); Done. :) -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 [EMAIL PROTECTED

Re: Converting Date to Epoch Seconds

2001-11-30 Thread Randal L. Schwartz
)(\d\d)/ or die; use Time::Local; my $epoch = timelocal(0, 0, 0, $day, $month-1, $year-1900); print scalar localtime $epoch; -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 [EMAIL PROTECTED] URL:http://www.stonehenge.com/merlyn/ Perl/Unix/security consulting

Re: ascii and binary

2001-11-25 Thread Randal L. Schwartz
1 = 0 x 2 + 1 Zaka so 65 = 101, is that right ? $ perl -le 'print unpack B*, A' 0101 $ perl -le 'print unpack B*, ABC' 010101100111 Does that help? -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 [EMAIL PROTECTED] URL:http://www.stonehenge.com

  1   2   >