FormMail Spam Hole

2002-02-08 Thread Scot Robnett
y mechanisms on *NIX. - Scot Robnett inSite Internet Solutions Square West Center 454 West Jackson Street Woodstock, IL 60098 (815)206-2907 office (815)342-6480 mobile [EMAIL PROTECTED] http://www.insiteful.tv --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.g

RE: Printing a file from the print statement

2002-02-25 Thread Scot Robnett
# Close the read file close(OUTFILE); # Close the write file - Scot Robnett inSite Internet Solutions [EMAIL PROTECTED] http://www.insiteful.tv -Original Message- From: Sir Douglas Cook [mailto:[EMAIL PROTECTED]] Sent: Friday, February 22, 2002 1:52 PM To: [EMA

Things that make you go hmmmmmmmm

2002-02-26 Thread Scot Robnett
{ next; }# Skip the "zero" row print <<"END_OF_HTML"; This is row $i This is another column in row $i END_OF_HTML } ------- Scot Robnett inSite Internet Solutions [EMAIL PROTECTED] http://www.

RE: Things that make you go hmmmmmmmm

2002-02-27 Thread Scot Robnett
Thanks, I'll look through it again and see if that's it! Scot R. -Original Message- From: W P [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 27, 2002 12:02 PM To: Scot Robnett; [EMAIL PROTECTED] Subject: Re: Things that make you go h > > What typi

Regex question

2002-03-09 Thread Scot Robnett
make sure the e-mail address is entered correctly. "; } ########## - Scot Robnett inSite Internet Solutions [EMAIL PROTECTED] http://www.insiteful.tv --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.gr

RE: Regex question

2002-03-09 Thread Scot Robnett
Hey y'all, I got over my brain cramp and thought I'd share with the group in case it helps anyone trying to do something similar. I was making it way too complicated. All I needed was: if($email !~ /\w+@\w+\.\w{2,4}/) { # error stuff here } - Scot Robnett inSite Internet Soluti

RE: Regex question

2002-03-10 Thread Scot Robnett
ly to the list - it might be on the 'wish list' for a lot of people, including me. :) Scot Robnett inSite Internet Solutions [EMAIL PROTECTED] www.insiteful.tv Is there also a module or another way to test the existence of an email address ? Kind regards, Rene Verharen Please DO

RE: html in a cgi script

2002-03-11 Thread Scot Robnett
s Test HTML Page'); # write a title $q->h3('Matt\'s Test HTML Page');# write an $q->p('This is an HTML page without the fancy stuff.'); # $q->end_html; # end the HTML doc snip # You can add style to HTML documents generated with a

RE: html in a cgi script

2002-03-15 Thread Scot Robnett
heckboxes? I'd just like to see how you would do that using this style of html: use CGI; # use CGI.pm $q = new CGI; # initiate a new CGI object $q->header(); # write an HTTP header to the browser $q->start_html; # start the HTML doc $q->title('Matt\'s Test HTML Page

RE: html in a cgi script

2002-03-15 Thread Scot Robnett
Sorry, setting up the CGI object was useless in that case, since I didn't use the object to create the fields. My bad. Sorry. -Original Message- From: Scot Robnett [mailto:[EMAIL PROTECTED]] Sent: Friday, March 15, 2002 6:13 PM To: Jessica Ortiz; [EMAIL PROTECTED] Subject: RE: ht

RE: Mail::POP3Client

2002-03-20 Thread Scot Robnett
l it: cpan> readme Mail::POP3Client Scot Robnett inSite Internet Solutions [EMAIL PROTECTED] -Original Message- From: Octavian Rasnita [mailto:[EMAIL PROTECTED]] Sent: Wednesday, March 20, 2002 10:57 AM To: [EMAIL PROTECTED] Subject: Mail::POP3Client Hi all, I tr

RE: Mail::POP3Client

2002-03-21 Thread Scot Robnett
] Sent: Wednesday, March 20, 2002 10:53 PM To: Scot Robnett Subject: Re: Mail::POP3Client I tried with PPM but it gave me the following error: Error installing package 'Mail-POP3Client': Could not locate a PPD file for package Mail::POP3Client What does it mean? Do I need something spe

RE: sendmail command in Windows?

2002-03-21 Thread Scot Robnett
BLAT for SMTP. Getmail for POP3. http://www.interlog.com/~tcharron/blat.html Scot Robnett inSite Internet Solutions [EMAIL PROTECTED] -Original Message- From: Octavian Rasnita [mailto:[EMAIL PROTECTED]] Sent: Thursday, March 21, 2002 7:18 AM To: [EMAIL PROTECTED] Subject

RE: Re :Camel Book

2002-03-21 Thread Scot Robnett
Believe me, the book is worth much more than the measly $30 or $40 you're going to spend. Let's not try to rip off the people that put so much time and effort into not only producing the book, but the language itself. Unbelievable...Larry certainly deserves a lot more respect than t

RE: Perl DATABASE Forms

2002-03-22 Thread Scot Robnett
You might try Programming the Perl DBI (O'Reilly) perldoc CGI.pm perldoc DBI.pm http://search.cpan.org/doc/JURL/DBD-ODBC-0.39/ODBC.pm http://search.cpan.org/doc/TIMB/DBD-Oracle-1.12/Oracle.pm http://www.mysql.com Scot Robnett inSite Int

RE: Perl DATABASE Forms

2002-03-22 Thread Scot Robnett
CGI::State might do some good also, although it's not going to compensate completely for a true stateful session. Scot R. -Original Message- From: Brice, Charles [mailto:[EMAIL PROTECTED]] Sent: Friday, March 22, 2002 12:48 PM To: 'David Kirol' (Receipt Notification Requested) (IPM Ret

RE: my first regex i think

2002-03-22 Thread Scot Robnett
This is not the cleanest example, but hopefully it will get you going in the right direction #!/usr/bin/perl use strict; my $file = "/path/to/file"; # location of the file my $firstword = "foo"; # 1st search word my $firstlocation = "http://www.location1.com";; # 1st URL my $secondword = "bar

RE: my first regex i think

2002-03-22 Thread Scot Robnett
Whoops, had to fix a comment here... if ($one =~ /$firstword/) { # searches the 1st column for 1st word print "Location: $firstlocation "; } elsif ($one =~ /$secondword/) { # searches **1st** column for 2nd word print "Location: $secondlocation "; } else { print ""; } -Origin

RE: I need Help with these?

2002-03-29 Thread Scot Robnett
nds in your DB with Perl CGI::use_named_parameters(1); # I've never seen this one, sorry, can't help here - Scot Robnett inSite Internet Solutions [EMAIL PROTECTED] --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.333 /

RE: IP Address

2002-04-04 Thread Scot Robnett
iance with a single static IP. If one of us had used your pool page and you blocked that IP, none of the other users on the network would have been able to contribute any data, although they should have been able to. And...a user is not an IP address. :) Scot Robnett inSite Internet Solutions [

RE: Do I need MySQL?

2002-04-07 Thread Scot Robnett
No. MySQL would be overkill for an application like this unless you're talking about several thousand lines. Otherwise you can just use something like... my $foo = "/path/to/file"; open(INFILE,"<$foo"); my @records = ; close(INFILE); for(@records) { chomp; my ($rec,$band,$artist) = sp

RE: I need CGI Help

2002-04-07 Thread Scot Robnett
I am not familiar with cvsweb.cgi, but it looks like the path you define is definitely in @INC. Did you try placing a copy of strict.pm elsewhere and unshifiting into @INC with a BEGIN block just to test it? It shouldn't be necessary with strict but I'm at a loss considering what you show as in

RE: Are CGI pages indexed by search engines?

2002-04-07 Thread Scot Robnett
this story and Google's response to questioning about it, but unfortunately I left it at work and am not VPN'd. If anyone is interested, I can post a link to the story tomorrow. Scot Robnett inSite Internet Solutions [EMAIL PROTECTED] [EMAIL PROTECTED] -Original Mes

RE: Redirecting to a page and downloading

2002-04-07 Thread Scot Robnett
odule? You should easily be able to do what you describe with that. Scot Robnett inSite Internet Solutions [EMAIL PROTECTED] [EMAIL PROTECTED] -Original Message- From: Joshua Hayden [mailto:[EMAIL PROTECTED]] Sent: Sunday, April 07, 2002 1:14 PM To: [EMAIL PROTECTED] Subjec

RE: Uploading with a text field?

2002-04-15 Thread Scot Robnett
If you want to upload the file as a file, you need to use a file field. If you want to paste the text into a text field and then save it as a file on the server, that's another story. Scot Robnett inSite Internet Solutions [EMAIL PROTECTED] [EMAIL PROTECTED] -Original Message-

Removing the last character from a string

2002-04-17 Thread Scot Robnett
d not work: $string =~ s/\"$//; # replace last " with nothing - Scot Robnett inSite Internet Solutions [EMAIL PROTECTED] [EMAIL PROTECTED] --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.349 / Virus Database: 1

RE: Removing the last character from a string

2002-04-17 Thread Scot Robnett
/NewsMLv1.0.dtd"); is intentional. Otherwise, the entire element list is included in the path to the DTD, which would be incorrect. I tried adding the doctype declaration by printing a HERE document, but since I wasn't passing data to the object writing the XML, that was ignored.

RE: history.back() does not work in IE

2002-04-25 Thread Scot Robnett
hy it exists. Using a hyperlink reference, you can simply link to the last page instance in your browser's history, which may be static HTML or the results of a CGI call. Worst case scenario is that your browser asks to repost the data and you have to click OK. Scot Robnett inSite Internet

RE: $_ and while stmt

2002-05-01 Thread Scot Robnett
You could use 'for' instead of 'while' in this case, I think. Example: my @inlocation = (one,two,three,four,five,six,seven); for (@inlocation) { if(($_ eq "two") or ($_ eq "four") or ($_ eq "six")) { print "$_ is an even number. \n"

RE: Little code fragment request (Is this code ok?)

2002-05-06 Thread Scot Robnett
Is this on UNIX? Somebody on the list please correct me if I'm wrong, but I don't believe flock will work on Windows, and I have no idea about Mac. Scot Robnett inSite Internet Solutions [EMAIL PROTECTED] [EMAIL PROTECTED] -Original Message- From: Rafael Cotta [mai

RE: cgi question

2002-05-09 Thread Scot Robnett
ries you need to run them. Under no circumstance are you limited to only running CGIs in a cgi-bin directory unless you are dealing with a web host that specifically imposes this limitation. At any rate, this is more of a web server issue than a Perl issue. Regards, Scot Robnett inSite Inter

RE: Matt Wright's formMail

2002-05-15 Thread Scot Robnett
Somebody just said "assholic." I like that word. Should it be used when evaluating code? It could escalate something like this. :) loose unclear/uncommented buggy/unstable contains security flaws completely unsafe stupid assholic --- Outgoin

RE: regular expression

2002-05-17 Thread Scot Robnett
int "Your $field is $value. \n"; } Scot Robnett inSite Internet Solutions [EMAIL PROTECTED] [EMAIL PROTECTED] -Original Message- From: ChaoZ Inferno [mailto:[EMAIL PROTECTED]] Sent: Friday, May 17, 2002 11:38 AM To: [EMAIL PROTECTED] Subject: Re: regular expression Actually,

RE: regular expression vs split

2002-05-17 Thread Scot Robnett
tion on it, depending on the complexity of the regex. In this case it doesn't seem that complicated, so maybe we're just talking semantics. TMTOWTDI. Regarding split being a regex, well...split is a function, but it basically uses a regex to do its whizbangery, if that's what you mean. Sco

What's up with CPAN?

2002-05-17 Thread Scot Robnett
Anybody else having trouble reaching search.cpan.org or wait.cpan.org today? I can get to the main site, but I can't get to module documentation. Scot R. --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.351 / Virus Database: 197

RE: opening and printing a document?

2002-05-21 Thread Scot Robnett
ser agent and get response my $res = $ua->request($req); # Check the outcome of the response if ($res->is_success) { print $res->content; } else { print "Sorry, no luck. \n"; } Scot Robnett inSite Internet Solutions [EMAIL PROTECTED] [EMAIL PROTECTED] -Original Me

RE: Netscape vs. IE Discrepancy

2002-05-21 Thread Scot Robnett
ough. Make sure that if you are using CGI.pm, you don't call something like $q->header; and then stick print "Content-type: text/html\n\n"; in there too. If you post more detail it would help. Scot Robnett inSite Internet Solutions [EMAIL PROTECTED] [EMAIL PR

RE: Netscape vs. IE Discrepancy FIXED

2002-05-21 Thread Scot Robnett
That depends on how you look at it...Netscape was the browser that actually forced your hand to clean up the code, so which browser was smarter? :) Scot Robnett inSite Internet Solutions [EMAIL PROTECTED] [EMAIL PROTECTED] -Original Message- From: Phil Fickas [mailto:[EMAIL PROTECTED

How to match next line?

2002-05-22 Thread Scot Robnett
s beyond $i if ($sorted[$i] =~ /$j/) # Compare this line w/next line { next; # If it matches, skip it } else { print "Address = $sorted[$i] \n"; } } Scot Robnett inSite Internet Solutions [EMAIL PROTECTED] [EMAIL PROTECTED] --- Outgoing mail is certified Viru

RE: How to match next line?

2002-05-22 Thread Scot Robnett
Tagore, Good points, and well taken. I was definitely planning to modify case using tr/[A-Z]/[a-z]/ but just hadn't gotten that far yet. I hadn't considered the hash idea but it makes a hell of a lot more sense than what I was doing. Thanks. Scot Robnett inSite Internet Soluti

RE: Checking who called a cgi-script

2002-05-25 Thread Scot Robnett
on UNIX? Most of my sites are on some > flavor of *NIX and I run my scripts suid. You > can explicitly tell the script that it can > run -only- as the user, not even as the httpd > daemon. (#!/usr/bin/perl -U with the script > directory

RE: Checking who called a cgi-script

2002-05-26 Thread Scot Robnett
May 26, 2002 11:03 AM To: Scot Robnett Cc: Sebastian Nerz; [EMAIL PROTECTED] Subject: Re: Checking who called a cgi-script On Saturday, May 25, 2002, at 08:18 , Scot Robnett wrote: > # Compare the referer against your "good list" > for $domain(@good_domains) { >

RE: URL for security issue?

2002-05-30 Thread Scot Robnett
itly tell the script that it can run -only- as the user, not even as the httpd daemon. (#!/usr/bin/perl -U with the script directory chmod'd 4711) Scot Robnett inSite Internet Solutions [EMAIL PROTECTED] [EMAIL PROTECTED] -Original Message- From: Davi

RE: URL for security issue?

2002-05-30 Thread Scot Robnett
John, Thanks for that link. Good reading/advice. Scot R. -Original Message- From: John Brooking [mailto:[EMAIL PROTECTED]] Sent: Thursday, May 30, 2002 12:02 PM To: David T-G; Beginners CGI Subject: Re: URL for security issue? Actually, I may have just found it. I think it was "Prev

RE: What is used htpasswd for?

2002-06-03 Thread Scot Robnett
le located anywhere that is accessible with a browser via HTTP. For full documentation, look here: http://httpd.apache.org/docs-2.0/programs/htpasswd.html Or in your local Apache administration guide. Regards, Scot Robnett inSite Internet Solutions [EMAIL PROT

RE: What is cat?

2002-06-03 Thread Scot Robnett
Camilo, Basically, it's a UNIX function that squeezes files together. It is short for "concatenate." Simple example: cat file1 file2 > file3 Use your manpage for further info: man cat You can also use it to view the contents of a file, similar to 'more' or 'less.' Example:

RE: HTML in E-mail

2002-06-03 Thread Scot Robnett
e. It can also be used to send HTML mail or various types of attachments. If interested in learning more about it, just go to CPAN and search the module documentation. Scot Robnett inSite Internet Solutions [EMAIL PROTECTED] [EMAIL PROTECTED] -Original Message- From: Camilo Gonzalez [m

RE: HTML in E-mail

2002-06-03 Thread Scot Robnett
> Does PINE do anything well? Wait! I'm thinking. Is this a trick question? ;) Scot R. --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.365 / Virus Database: 202 - Release Date: 5/24/2002 -- To unsubscribe, e

RE: Replacing with Regular expressions

2002-06-03 Thread Scot Robnett
$foo =~ s/\W*/_/g; http://www.oreilly.com/catalog/regex/ -Original Message- From: Octavian Rasnita [mailto:[EMAIL PROTECTED]] Sent: Monday, June 03, 2002 3:06 AM To: [EMAIL PROTECTED] Subject: Replacing with Regular expressions Hi all, I have a path to a file name.

RE: Replacing with Regular expressions

2002-06-04 Thread Scot Robnett
] Subject: RE: Replacing with Regular expressions Scot Robnett wrote at Tue, 04 Jun 2002 05:13:13 +0200: >> $foo =~ s/\W*/_/g; >> >> http://www.oreilly.com/catalog/regex/ > ... > > I want to allow only the a-z, A-Z, and 0-9 characters and I want to replace all o

RE: Perl/CGI mysql book

2002-06-05 Thread Scot Robnett
Programming the Perl DBI http://www.oreilly.com/catalog/perldbi/ SAMS Teach Yourself SQL in 10 Minutes (It's a lie but it's still a helpful book) http://www.amazon.com/exec/obidos/ASIN/0672321289/qid=1023301413/sr=1-1/ref= sr_1_1/002-4842183-8613640 -Original Message- From: Maureen

RE: Perl/CGI Website Ideas

2002-06-05 Thread Scot Robnett
etter) at sites like http://www.cgi-resources.com/Programs_and_Scripts/Perl/ and http://www.scriptsearch.com/Perl/Scripts_and_Programs/ And stay on this list, of course. :) Scot Robnett inSite Internet Solutions [EMAIL PROTECTED] [EMAIL PROTECTED] -Original Message- From:

RE: Am I doing something wrong?

2002-06-07 Thread Scot Robnett
What you are doing is not commenting; you're creating POD documentation. To comment out lines in Perl, use the # character. #!/usr/bin/perl -w print "Hello, world! \n"; # This is a comment where you # can write about what you're # doing in a particular block # so other programmers won't # be co

RE: Having problems with login

2002-06-13 Thread Scot Robnett
run your scripts suid (chmod'd 4711 and #!/usr/bin/perl -U). At any rate, you want to avoid these two things: - Leaving the password in plain text - Leaving the directory world-writeable Scot Robnett inSite Internet Solutions [EMAIL PROTECTED] http://www.insiteful.tv

RE: Uploading Help

2002-06-18 Thread Scot Robnett
method for reading uploaded files might have been slightly convoluted, but it still works... Scot Robnett inSite Internet Solutions [EMAIL PROTECTED] http://www.insiteful.tv "There are only two things in life, but I forget what they are." - John Hiatt --- Outgoing mail is certified

RE: number

2002-06-20 Thread Scot Robnett
my $file = '/path/to/file'; if ($file !~ /^\d/) { . } -Original Message- From: Bo Mangor [mailto:[EMAIL PROTECTED]] Sent: Thursday, June 20, 2002 1:17 PM To: [EMAIL PROTECTED] Subject: number Hi there I'm a new bird to Perl - and I have a little problem. I have a file input where

RE: number

2002-06-20 Thread Scot Robnett
Sorry, that was hasty...shoulda been something more like my $file = '/path/to/file'; open(THEFILE,"<$file"); my @ary = ; close(THEFILE); for my $line(@ary) { if($line !~ /^\d/) { } } -Original Message- From: Bo Mangor [mailto:[EMAIL PROTECTED]] Sent: Thursday, June 20, 2002 1:1

RE: number

2002-06-20 Thread Scot Robnett
if($string =~ /^[0-9]/) checks to see if the string starts with 0. If it doesn't, it checks if the string starts with 1. If it doesn't, it checks if the string starts with 2, and so on until the condition is true. If the condition is never true, then it will do whatever is in your else {} (or els

RE: HTML form another web site

2002-06-24 Thread Scot Robnett
You need to check out the LWP module. http://search.cpan.org/doc/RSE/lcwa-1.0.0/lib/lwp/lib/LWP.pm Scot R. inSite Internet Solutions [EMAIL PROTECTED] http://www.insiteful.tv -Original Message- From: Fred Sahakian [mailto:[EMAIL PROTECTED]] Sent: Monday, June 24, 2002 9:49 AM To: <

RE: how to change my password throught cgi

2002-06-24 Thread Scot Robnett
Assuming you are on UNIX, run your script suid. For example, if your script was called auth.cgi, here is what you would do: 1st, at the command line: chmod 4711 auth.cgi 2nd, change your shebang line in your script to include the -U (run as user) flag: #!/usr/bin/perl -U Now t

RE: Object oriented variable question

2002-06-24 Thread Scot Robnett
You are trying to assign a static value to something that comes from the form. If you create a field called "comments" (or anything you want to call it, that's just what I chose) on your form and then type your test string, it will work with the following change to your code:

RE: What editor for Perl do you recommend?

2002-06-24 Thread Scot Robnett
emacs is a good one. I also like TextPad (www.textpad.com). Scot R. inSite Internet Solutions [EMAIL PROTECTED] http://www.insiteful.tv -Original Message- From: Jonathan Gines [mailto:[EMAIL PROTECTED]] Sent: Monday, June 24, 2002 11:19 AM To: Francesco Scaglioni; [EMAIL PROTECTED] Cc:

RE: CGI.pm v/s roll-your-own [WAS:] Displaying Problems

2002-06-26 Thread Scot Robnett
> Its pretty hard to make it more simple than: > use Form; > my %input = Form(); Let me try. use CGI; %params = $q->Vars; Scot R. inSite

RE: CGI.pm v/s roll-your-own [WAS:] Displaying Problems

2002-06-27 Thread Scot Robnett
splaying Problems on Thu, 27 Jun 2002 02:54:10 GMT, [EMAIL PROTECTED] (Scot Robnett) wrote: >> Its pretty hard to make it more simple than: >> use Form; >> my %input = Form(); > > Let me try. > > > use CGI; > %params = $q->

RE: CGI.pm v/s roll-your-own [WAS:] Displaying Problems

2002-06-27 Thread Scot Robnett
values are returned as a packed string separated by \0. Scot R. inSite -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Thursday, June 27, 2002 10:44 AM To: Scot Robnett; [EMAIL PROTECTED] Cc: Felix Geerinckx Subject: Re: CGI.pm v/s roll-you

RE: CGI.pm v/s roll-your-own [WAS:] Displaying Problems

2002-06-27 Thread Scot Robnett
True. Whew, my hand hurts from all that extra typing. ;) Scot R. -Original Message- From: John Brooking [mailto:[EMAIL PROTECTED]] Sent: Thursday, June 27, 2002 1:50 PM To: Scot Robnett; [EMAIL PROTECTED] Cc: Felix Geerinckx Subject: RE: CGI.pm v/s roll-your-own [WAS:] Displaying

RE: cgi probs

2002-06-27 Thread Scot Robnett
I hate to ask the obvious, but is your web server running on that box? Scot R. -Original Message- From: Ian Rogers [mailto:[EMAIL PROTECTED]] Sent: Thursday, June 27, 2002 5:19 PM To: [EMAIL PROTECTED] Subject: cgi probs Hi I have set up my machine running suse linu

RE: cgi probs

2002-06-30 Thread Scot Robnett
TECTED]] Sent: Sunday, June 30, 2002 9:27 AM To: [EMAIL PROTECTED] Subject: RE: cgi probs yes it is, but i am not sure if it is setup right. like i say i have installed linux, but haven't done anything with apache. What do i need to do to configure and run apache, as that could well be my

RE: Executing cgi from html

2002-07-01 Thread Scot Robnett
includes: http://hoohoo.ncsa.uiuc.edu/docs/tutorials/includes.html Scot Robnett inSite Internet Solutions [EMAIL PROTECTED] -Original Message- From: Rafael Cotta [mailto:[EMAIL PROTECTED]] Sent: Sunday, June 30, 2002 11:17 PM To: [EMAIL PROTECTED] Subject: Executing cgi from html Hi all

RE: Disabling file uploads?

2002-07-02 Thread Scot Robnett
It is not -necessary- to disable file uploads, it's just a good idea, provided that no uploads are required by your application. If you leave the upload option on and also don't use a POST_MAX to limit the size of uploads, a malicious cracker (hey, now that would be a good band name - "Malicious C

RE: Username & Password Question

2002-07-03 Thread Scot Robnett
I might have suggested doing authentication a little bit differently, as it appears that you are using a plain text file with unencrypted username/password data. But if you just want to redirect based on what you've got and you're not extremely concerned about security in this instance, this shoul

RE: Disabling file uploads?

2002-07-03 Thread Scot Robnett
capacity of the available data structure. ##### Regards, Scot Robnett inSite Internet Solutions [EMAIL PROTECTED] http://www.insiteful.tv --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.372 / Virus Database: 207 - Release Date: 6/20/2

RE: DBI in CGI's

2002-07-03 Thread Scot Robnett
Can you telnet or SSH into your server? Do they have the CPAN module installed? If the answers to those 2 questions are yes, try perl -MCPAN -e 'install Bundle::DBI' I don't *think* this module is of the pure perl variety, so my suspicion is that it has to be installed by whoever is root

RE: Perl Web combobox postgres

2002-07-09 Thread Scot Robnett
Two thingies: 1. Please post to the list in plain text rather than HTML. 2. You probably want to either create or fake a stateful session with something like CGI::Persistent. NAME CGI::Persistent -- Transparent state persistence for CGI applications. SYNOPSIS use

RE: pop-before-smtp in perl

2002-07-13 Thread Scot Robnett
I don't think it's an issue with your script. I think your hosting provider needs to add your domain to rcpthosts on the mail server. Did you try turning debugging on in Mail::POP3Client? Scot R. inSite -Original Message- From: Shao-Ju Chao [mailto:[EMAIL PROTECTED]] Sent: Saturday, Jul

RE: redirect()

2002-07-14 Thread Scot Robnett
A common mistake is to print a header and then do a redirect, which slows the process down because essentially you have a script and a page competing to generate a header. When using redirect(), do not do this: #!/usr/bin/perl use CGI; my $q = new CGI; print $q->he

RE: redirect()

2002-07-14 Thread Scot Robnett
Do you think the clients browser goes and Posts the form again to the new URL? No, I don't think that is what's happening. Once you post the info, the script is processing it and doing the redirect, but I don't think it is posting the entire string of nv pairs agai

RE: HTML tags - module

2002-07-17 Thread Scot Robnett
=> 0, rightmargin => 50); print $formatter->format($tree); ###### Scot Robnett inSite Internet Solutions [EMAIL PROTECTED] http://www.insiteful.tv -Original Message- From: Octavian Rasnita [mailto:[EMAIL PROTECTED]] Sent: Wednesday, July 17, 2002 2:55 AM To

RE: Running CGIs offline

2002-07-22 Thread Scot Robnett
I have been interested in this sort of thing for awhile also. Looking forward to any helpful info! Scot R. inSite -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Monday, July 22, 2002 12:06 PM To: [EMAIL PROTECTED] Subject: Running CGIs offline I'm interes

RE: Running CGIs offline

2002-07-22 Thread Scot Robnett
Just a note to throw in my own WOOOH :) Gotta try it. Scot R. inSite -Original Message- From: David T-G [mailto:[EMAIL PROTECTED]] Sent: Monday, July 22, 2002 1:22 PM To: perl beginners cgi Cc: Bob Showalter Subject: Re: Running CGIs offline Bob, et al -- and then Bob Sh

RE: Running CGIs offline

2002-07-23 Thread Scot Robnett
ocally and on a live webserver, but it's a step closer... HTH someone, TommyGun. -Original Message- >From : Scot Robnett <[EMAIL PROTECTED]> To : David T-G <[EMAIL PROTECTED]>; perl beginners cgi <[EMAIL PROTECTED]> CC : Bob Showalter <[EMAIL PROTECTED]>Date :

RE: Finding the country

2002-07-24 Thread Scot Robnett
I'm assuming your best bet would be to find the IP using the first line of a ping or traceroute and regex-ing out the extraneous stuff, then using 'whois -a' (which does an ARIN search) and extracting the 4th line to get the country. Anybody have any easier/faster ideas? Scot R. inSite -- T

RE: How to find the remote time?

2002-08-12 Thread Scot Robnett
You can use Javascript to pull the time off their system clock, assuming their clock is set correctly. Server-side, you can use an ARIN search on their IP to get their location, but in that case you're relying on the IP not being spoofed and/or all of the lookups actually working, which is not a "

RE: Creating a shopping cart

2002-08-12 Thread Scot Robnett
ild a better one. In most cases, I've found that my clients invariably need some customization that isn't available in a canned shopping cart script. Authorize.net has a huge list of Authorize.net-compatible shopping carts here: http://www.authorizenet.com/alliances/carts_list.php

RE: real beginners stuff

2002-08-13 Thread Scot Robnett
Try printing the content type before your HERE doc, not within it. Scot R. inSite -Original Message- From: Jimmy George [mailto:[EMAIL PROTECTED]] Sent: Tuesday, August 13, 2002 2:03 AM To: cgi Subject: real beginners stuff Hello World If I logon to the web via (say) server_a and the

RE: :SMTP / HTML

2002-09-12 Thread Scot Robnett
3.com/";>Here's a link. cid:img.jpg";> }); # Attach the image $msg->attach(Type => 'image/gif', Id => 'img.gif', Path => '/path/to/img.gif'); # Send i

RE: ending a script

2002-09-12 Thread Scot Robnett
eferer ne $good_referer) or ($real_address ne $good_address) { # boot 'em } else { # do your thing } - Scot Robnett inSite Internet Solutions [EMAIL PROTECTED] http://www.insiteful.tv -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: Hotmail.com vs. MIME:Lite

2002-09-18 Thread Scot Robnett
I got no idea what to do or how to solve it. (RIght now I`m using a little sub checking whether it's a hotmail address and sending only plain text to hotmail, while sending html to all others....) Does anyone have an idea how to solve that problem? Thanks for your help, Sven On Montag, Septe

RE: pop-up window with database access

2002-09-30 Thread Scot Robnett
"Avoid Javascript" is a pretty far-reaching statement. If you want to launch a popup window, Perl isn't going to do that, Javascript is. It only takes one or two lines of client-side code. There are easy-to-follow Javascript primers at http://javascript.internet.com and http://ww

RE: pop-up window with database access

2002-09-30 Thread Scot Robnett
r 30, 2002 11:30 AM To: [EMAIL PROTECTED] Subject: Re: pop-up window with database access On Mon, 30 Sep 2002 10:28:51 -0500, [EMAIL PROTECTED] (Scot Robnett) wrote: >"Avoid Javascript" is a pretty far-reaching statement. If you want to launch >a popup window, Perl isn't going t

RE: Using MySQL

2002-10-15 Thread Scot Robnett
MySQL and Perl for the Web" by Paul DuBois, and the O'Reilly book "Programming the Perl DBI" is always a good reference point. - Scot Robnett inSite Internet Solutions Square West Center 454 West Jackson Street Woodstock, IL 60098 (815)206-2907 office (815)342-648

RE: Form-mail blues

2002-11-04 Thread Scot Robnett
e that you get the case, punctuation, and spacing correct. - Scot Robnett inSite Internet Solutions [EMAIL PROTECTED] -Original Message- From: Ramon Hildreth [mailto:ramon@;ramonred.net] Sent: Saturday, November 02, 2002 2:49 PM To: [EMAIL PROTECTED] Subject: Form-mail blues Hi, I d

RE: Form mail with preview?

2002-11-04 Thread Scot Robnett
http://sourceforge.net/projects/nms-cgi/ - Scot Robnett inSite Internet Solutions [EMAIL PROTECTED] -Original Message- From: Phil Solomon [mailto:phil@;topshelfdesign.com] Sent: Monday, November 04, 2002 6:35 AM To: [EMAIL PROTECTED] Subject: Form mail with preview? Hi there, I

RE: Unable to run cgi script

2002-11-11 Thread Scot Robnett
ced that you called the configuration file httpd.config. Since its actual name is httpd.conf, I wonder if it's as simple as renaming your configuration file? If you already have it named httpd.conf, then never mind this question. :) - Scot Robnett inSite Internet Solutions Square West Ce

RE: tutorials

2002-11-23 Thread Scot Robnett
k" is supposed to be good also. - Scot Robnett inSite Internet Solutions Square West Center 454 West Jackson Street Woodstock, IL 60098 (815)206-2907 office (815)790-9687 mobile [EMAIL PROTECTED] http://www.insiteful.tv -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROT

RE: Creating and Using Libraries

2002-12-02 Thread Scot Robnett
#1.) I guess the answer to question one is simply to create a directory somewhere within my user access/document tree, and then give it the proper access permissions. I prefer to put them in a directory that is not in the HTML document tree if at a

5.005_03 vs. 5.8

2002-12-02 Thread Scot Robnett
, I'm used to one flavor and you know what they say about fixing things that ain't broke. Opinions, comments, suggestions? ----- Scot Robnett inSite Internet Solutions [EMAIL PROTECTED] -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: 5.005_03 vs. 5.8

2002-12-03 Thread Scot Robnett
Thanks to all for your input on this. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: 5.005_03 vs. 5.8

2002-12-03 Thread Scot Robnett
Thanks again everyone. Based on your input, reading the docs, and doing some evaluation of our own needs, we decided on Red Hat 8.0, which comes with Perl 5.8.0, Apache 2.0, and with the mod_perl package. It all goes on a Dell PowerEdge 2600 144 GB (108 usable) RAID 5 with a 512 MB Xeon. Sweeet

RE: 5.005_03 vs. 5.8

2002-12-04 Thread Scot Robnett
ting file associated with them and must be installed by root using a 'make install'. - Scot Robnett inSite Internet Solutions [EMAIL PROTECTED] -Original Message- From: Octavian Rasnita [mailto:[EMAIL PROTECTED]] Sent: Tuesday, December 03, 2002 9:38 AM To: [EMAIL PROTECTED]

  1   2   >