RE: Mail::Send question

2003-08-04 Thread Scot Robnett
Yep, if you want to bring that book home - drink some protein shakes, take your vitamins, and work out for a month before you buy it. - Scot Robnett inSite Internet Solutions [EMAIL PROTECTED] -Original Message- From: Andrew Brosnan [mailto:[EMAIL PROTECTED] Sent: Monday, August 04

RE: Mail::Send question

2003-08-01 Thread Scot Robnett
That did the trick. Thanks! Scot R. inSite -Original Message- From: Wiggins d'Anconia [mailto:[EMAIL PROTECTED] Sent: Friday, August 01, 2003 7:59 PM To: Scot Robnett Cc: [EMAIL PROTECTED] Subject: Re: Mail::Send question Scot Robnett wrote: > Is there any way to force Mail:

Mail::Send question

2003-08-01 Thread Scot Robnett
n't work and mail # doesn't get sent if you # use it $msg->to($to); $msg->subject('Mail from SomeBusiness.com'); my $fh = $msg->open; print $fh $mailbody; $fh->close; # When this mail comes in, it comes from # @ - Scot Robnett

RE: Where's the Perl jobs, baby?

2003-07-30 Thread Scot Robnett
Subscribe to jobs.perl.org. You can search the site for relevant jobs and have e-mail notices sent. I'll steer clear of the political aspect of your e-mail; that's a flame war I'm afraid to watch. ----- Scot Robnett inSite Internet Solutions [EMAIL PROTECTED] -Original Me

RE: PHP vs Perl

2003-07-28 Thread Scot Robnett
s for perl Image::Magick ... Teddy, Teddy's Center: http://teddy.fcc.ro/ Email: [EMAIL PROTECTED] - Original Message - From: "Scot Robnett" <[EMAIL PROTECTED]> To: "Octavian Rasnita" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Sun

RE: PHP vs Perl

2003-07-27 Thread Scot Robnett
I think there are a couple of myths that need to be cleared up from that post. First, the idea that PDF manipulation and secure payment modules "don't work very well" in Perl. If one has had difficulty in making the modules work for them, it does not necessarily mean that the module is at fault

RE: Another Regex question.

2003-07-23 Thread Scot Robnett
Or you could do what Scott Hall said! :-) Didn't know about that one...talk about making life easier. - Scot Robnett inSite Internet Solutions [EMAIL PROTECTED] -Original Message- From: Sara [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 23, 2003 11:59 AM To: org Subject: An

RE: Another Regex question.

2003-07-23 Thread Scot Robnett
g is seriously wrong here..."; } } # OUTPUT I GOT FROM THIS: This Input Is In All Caps - 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 http://w

RE: PHP vs Perl

2003-07-22 Thread Scot Robnett
Oh my lord, you didn't really start a "which language is better" thread, did you? Time to set up another e-mail filter over here...have you no sense of decency, man? heh heh ----- Scot Robnett inSite Internet Solutions [EMAIL PROTECTED] -Original Message- From: Octavian

RE: Regex problem

2003-07-20 Thread Scot Robnett
This is similar to Wiggins, except it checks to make sure that A. We have a two word sequence B. We don't have a comma These are still very basic levels of processing, though - Wiggins is right that we would need to see a more thorough example of data ranges to know exactly what

RE: CGI Module Reference

2003-07-08 Thread Scot Robnett
Online docs --- perldoc CGI O'Reilly books -- CGI Programming with Perl CGI Cookbook - Scot Robnett inSite Internet Solutions [EMAIL PROTECTED] -Original Message- From: Shaw, Matthew [mailto:[EMAIL PROTECTED] Sent: Monday, July 07, 2003 1:44 PM To: [

RE: Running process in background?

2003-07-03 Thread Scot Robnett
Scot Robnett inSite Internet Solutions [EMAIL PROTECTED] -Original Message- From: Hanson, Rob [mailto:[EMAIL PROTECTED] Sent: Thursday, July 03, 2003 1:20 PM To: 'Scot Robnett'; [EMAIL PROTECTED] Subject: RE: Running process in background? Your first solution is prone to m

Running process in background?

2003-07-03 Thread Scot Robnett
again. Still, this might be better. Is there a third alternative? Suggestions please? Thanks. - Scot Robnett inSite Internet Solutions [EMAIL PROTECTED] -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: Regex question.

2003-07-02 Thread Scot Robnett
(/(\d{2})(\d{2})(\d{4})/); -Original Message----- From: Scot Robnett [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 02, 2003 2:03 PM To: Paul Kraus; Sara; [EMAIL PROTECTED] Subject: RE: Regex question. > > 2- Want to format dates like birth = 02151956 should be 02/15/1956 > m

RE: Regex question.

2003-07-02 Thread Scot Robnett
> > 2- Want to format dates like birth = 02151956 should be 02/15/1956 > my $date = "$1/$2/$3/" if (/(\d\d)(\d\d)(\d\d\d\d)/) # All of this is UNTESTED, please treat as such. # More of "the same but different" my $date = qq($1/$2/$3) if /(\d{2})(\d{2})(\d{4})/; # Takes into account dates lik

RE: suid

2003-06-30 Thread Scot Robnett
I'm not 100% sure of the security ramifications of this, but I believe you chmod your script to 4711 and change your shebang to #!/usr/bin/perl -w -U. - Scot Robnett inSite Internet Solutions [EMAIL PROTECTED] -Original Message- From: Octavian Rasnita [mailto:[EMAIL PROTECTED]

RE: Packages, run modes, and scopes, oh my

2003-06-28 Thread Scot Robnett
All the references point to Randal's involvement one way or another (PerlMonks or O'Reilly books). I think I see a pattern here. :) Thanks everybody! Scot R. -Original Message- From: Andrew Brosnan [mailto:[EMAIL PROTECTED] Sent: Saturday, June 28, 2003 8:14 AM To: Sc

RE: Packages, run modes, and scopes, oh my

2003-06-27 Thread Scot Robnett
I hadn't, but I have now. Thanks! Scot R. -Original Message- From: Charles K. Clarkson [mailto:[EMAIL PROTECTED] Sent: Saturday, June 28, 2003 12:10 AM To: 'Scot Robnett'; [EMAIL PROTECTED] Subject: RE: Packages, run modes, and scopes, oh my Have you seen the tutoria

Packages, run modes, and scopes, oh my

2003-06-27 Thread Scot Robnett
- Teach Yourself Perl in 21 Days - The obvious: perldocs, CPAN, etc. I'm not so good at grasping abstract data, I learn better by building, breaking, and fixing until I get it right. Thanks in advance for any pointers, especially for tutorial-type info with program building exercise

RE: perl-modules

2003-06-23 Thread Scot Robnett
This will show you what directories and files are in @INC. Using a similar approach, you could "drill down" into further subdirectories as needed. Short script shown first, results shown below the script. #!/usr/bin/perl -w use strict; my @subdirs = (); my @files = (); foreach my $dir(@INC) { ch

Doing time/date calculations

2003-06-22 Thread Scot Robnett
How would one go about determining if something is 3 days old, 3 months old, 1 year old, etc., based on the following scenario? The date that a user subscribes to our site is stored in a MySQL database in the DATE format -mm-dd. So column 'SubscribeDate' looks like 2003-06-18, for instance. W

RE: Problem with script headers.

2003-06-18 Thread Scot Robnett
Nicholas, Then get a book, or several. We don't read minds. We're glad to help if there's something to look at. Arguing about it isn't going to solve your problem. If you want a complete list of what causes "premature end of script" headers, read "CGI Programming in Perl," "CGI Cookbook," anything

RE: Scheduling routine or module

2003-06-17 Thread Scot Robnett
SR:Is anyone aware of a good module for scheduling an event that is not a SR:command line event? I may just be able to use cron for this but I'm checking SR:if there is another solution. I want to schedule an e-mail to be sent to a SR:list of about 1,000 subscribers at a future time. I'll have the

Scheduling routine or module

2003-06-16 Thread Scot Robnett
Is anyone aware of a good module for scheduling an event that is not a command line event? I may just be able to use cron for this but I'm checking if there is another solution. I want to schedule an e-mail to be sent to a list of about 1,000 subscribers at a future time. I'll have the administrato

RE: Subroutine Syntax

2003-06-14 Thread Scot Robnett
This worked for me. #!/usr/bin/perl -w use strict; use CGI; my $cgi = new CGI; print $cgi->header(-title=>'Hi there'); print $cgi->h3('What\'s up'); print qq(\n); my $status = 0; my $i = 0; for($i=0; $i<3; $i++) { if($status) { error($status); } $status++; } sub error { print $cgi->p

RE: Problem with script headers.

2003-06-14 Thread Scot Robnett
nd they are more likely to be error-free... print $query->header(); or print $query->header(-title=>'foo', -BGCOLOR=>'white'); - Scot Robnett inSite Internet Solutions -Original Message- From: Nicholas

RE: array/split/join question

2003-06-14 Thread Scot Robnett
Seems like the same results would be achieved by not opening it at all the first time through. You're right, I commented out the extra slurpage, moved close(OUT) and close(IN) and it still worked. So basically you have a very elaborate and expensive no-op. Story

array/split/join question

2003-06-14 Thread Scot Robnett
This accomplishes what I want it to, but it's ugly. Any ideas on how I can achieve the same result without opening and closing the OUT file twice? I'll have to open it yet again to populate a DB column with the stripped HTML, and it just seems like I've got WAY too much file activity happening here

RE: Question about regexing/splitting results into array

2003-06-12 Thread Scot Robnett
e - Kristofer Hoch wrote: - split //, $_ instead of matching embrace it in parenthesis...no escaping neccessary... split /()/, $_ At least I think that I am reading this book properly....h --- Scot Robnett <[EMAIL PROTECTED]> wrote: > I was wondering why this array that I am

Question about regexing/splitting results into array

2003-06-12 Thread Scot Robnett
I was wondering why this array that I am attempting to create at line 21 seems to be empty. If I want to put chunks separated by into the array, how could I do this differently to make it work? ## #!C:\Perl\bin\perl.exe -w $/ =

RE: Simple character replace problem

2003-06-08 Thread Scot Robnett
Talk about a confusing-looking hack, but this one seemed to work to take care of the hex values. $value =~ s/(\%){1}(\d|[a-fA-F]){1}(\d|[a-fA-F]){1}/ /g; Scot R. inSite -Original Message- From: steve ryan [mailto:[EMAIL PROTECTED] Sent: Sunday, June 08, 2003 5:38 PM To: [EMAIL PROTECTE

RE: how to create a submit button in perl?

2003-06-06 Thread Scot Robnett
perldoc CGI -Original Message- From: Annie [mailto:[EMAIL PROTECTED] Sent: Friday, June 06, 2003 3:57 PM To: [EMAIL PROTECTED] Subject: how to create a submit button in perl? hi i need to create a submit button on one of my web page and i need the code to create that in perl?

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

2003-06-06 Thread Scot Robnett
Dave, I highly recommend most of the O'Reilly books, but especially "Learning Perl" by Randal Schwartz. For spot reference I like SAMS "Teach Yourself Perl in 21 Days" and IDG's "Perl for Dummies," although there are portions of each in which your more militant Perl programmers would say their exa

RE: regexing AND NOT

2003-06-06 Thread Scot Robnett
I don't know if you realize that you just wrote an SQL statement. Have you considered putting all of this in a DB? Use the DB to do the searching and sorting, and Perl to display the results. #!/usr/bin/perl -w # quick DB sample, I know it doesn't use strict, sue me :-) use DBI; # connect $dbh

RE: Getting my head round hashes

2003-06-06 Thread Scot Robnett
Sorry, forgot to comment something...yeeesh #!/usr/local/perl -wT use strict; use CGI; use DBI; # need this! my $marker = 5; # (or whatever number) my $dbh=DBI->connect(DBI:mysql:database:localhost,"user","password"); my $sth=$dbh->prepare("SELECT task_ID, priority FROM task_list WHERE priority >

RE: Getting my head round hashes

2003-06-06 Thread Scot Robnett
You're not pulling in the DBI functions, for one thing. Short example of using the hashref function built into DBI is shown below. #!/usr/local/perl -wT use strict; use CGI; use DBI; # need this! my $marker = 5; (or whatever number) my $dbh=DBI->connect(DBI:mysql:database:localhost,"user","passwo

RE: How to automate the sending of mail

2003-06-05 Thread Scot Robnett
> I need my web site to automatically send an email > confirmation. I'm using CGI Perl 5.6 on IIS on > Win2000. > What options are there for doing this? MIME::Lite Mail::Sendmail Win32::OLE -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail

RE: Streaming HTML

2003-06-05 Thread Scot Robnett
HTTP is a stateless protocol, and as far as I know the best you can do is "fake" statefulness. Seems like a bandwidth hog anyway, when you could achieve the same purpose by either refreshing the HTML page at designated intervals, or pull that information into a Java applet (you see it with "news ti

RE: how to compare to string variables

2003-06-04 Thread Scot Robnett
f the string, rather than changing the case of the string. -Original Message- From: Dennis Stout [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 04, 2003 1:51 AM To: Scot Robnett; [EMAIL PROTECTED] Cc: Boon Chong Ang; Annie Subject: Re: how to compare to string variables > Or even if y

RE: how to compare to string variables

2003-06-04 Thread Scot Robnett
Or even if you don't want them to be identical but just similar in that they contain the same string somewhere within the variable, i.e. $a2 = 'Lambott'; $a3 = 'fooLambottblah'; if ($a3 =~ /$a2/) { # do something } else { # do something el

Perl-MySQL question

2003-06-01 Thread Scot Robnett
If I have a table with date column formatted -00-00, and I want to force a specified date into the column as opposed to just using "now", how would I change the following? Sorry if this is a little off topic but I thought someone here might know. Not a cross-post, I'm not even on a MySQL list.

RE: require "config.txt"

2003-06-01 Thread Scot Robnett
# config.txt # $firstname = qq(Sara); $lastname = qq(Perlfreak); $email = q([EMAIL PROTECTED]); ### end config.txt ### - #!/usr/bin/perl -w use CGI; require q(/path/to/config.txt); my $query = new CGI; # Let's say there

RE: Another regex question

2003-05-30 Thread Scot Robnett
Andrew, Thanks for trying to help. Scot -Original Message- From: Andrew Brosnan [mailto:[EMAIL PROTECTED] Sent: Thursday, May 29, 2003 3:05 PM To: Scot Robnett; [EMAIL PROTECTED] Subject: RE: Another regex question Try this: #!/usr/bin/perl #File: use warnings; use strict; #set

RE: Another regex question

2003-05-30 Thread Scot Robnett
.. -Original Message- From: Andrew Brosnan [mailto:[EMAIL PROTECTED] Sent: Thursday, May 29, 2003 1:45 PM To: Scot Robnett; [EMAIL PROTECTED] Subject: RE: Another regex question On 5/29/03 at 12:27 PM, [EMAIL PROTECTED] (Scot Robnett) wrote: Will the file always be formated as below (wi

RE: Another regex question

2003-05-30 Thread Scot Robnett
I read perlfaq6. Several times, in fact, and specifically the section you're pointing out. I'm one of those people who needs a good beating to understand something, but once I "get it" I don't forget...just not there yet. I basically want to extract the first several lines of the file, maybe to di

Another regex question

2003-05-30 Thread Scot Robnett
Okay, I've looked at perlre, perlretut, perldoc.com, Learning Perl, and a partridge in a pear tree, and I'm still stupid. :) Does anyone out there have a working example script that does matching over multiple lines, preferably an HTML file? I'm just having a lot of difficulty with this and it wo

Help or point to the right documentation?

2003-05-29 Thread Scot Robnett
Can anyone point me to what documentation I should be reviewing to solve the following problem? I have an HTML file and want to look through it for certain comment tags or lines containing particular text strings, then split it up into ads and articles, for instance. Let's say I have a section for

RE: The very un-useful 'premature end of script headers' error message

2003-04-02 Thread Scot Robnett
Not really. If your form allows uploads, your form allows uploads. That's where DoS comes into play. Disguising the location of your code is a start, but you still have to figure out what you're going to do if someone tries to paste rogue code into your form or hit you with an obnoxiously large upl

RE: Removing all \n in a text file.

2003-04-02 Thread Scot Robnett
PROTECTED] Sent: Tuesday, April 01, 2003 1:07 PM To: 'Scot Robnett' Subject: RE: Removing all \n in a text file. Hi Scot, Thanks for your help. I am not sure in what way this code differs from my previous one. Is the change in the open statement significant wrt to how \n are read

RE: CPAN/Matt's???

2003-03-31 Thread Scot Robnett
Ugh, completely forgot what day it was. Egg + face = me. - Scot Robnett inSite Internet Solutions [EMAIL PROTECTED] -Original Message- From: Hughes, Andrew [mailto:[EMAIL PROTECTED] Sent: Monday, March 31, 2003 8:11 PM To: '[EMAIL PROTECTED] ' Subject: RE: CPAN/Matt&

CPAN/Matt's???

2003-03-31 Thread Scot Robnett
Is anyone else seeing Matt's script archive when they try to go to CPAN? Scot R. inSite -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: The very un-useful 'premature end of script headers' error message

2003-03-31 Thread Scot Robnett
e DoS (denial of service) on your server. My advice is always to err on the side of caution. Never think "that would never happen on MY site." ----- Scot Robnett inSite Internet Solutions [EMAIL PROTECTED] -Original Message- From: Cool Hand Luke [mailto:[EMAIL PROTECTED] Sent

RE: The very un-useful 'premature end of script headers' error message

2003-03-28 Thread Scot Robnett
Somebody better tell Nathan Patwardhan, Ellen Siever, & Stephen Spainhour then. I'm looking at the 2nd edition of PERL IN A NUTSHELL (and that is exactly how it's printed) right now. I knew the difference but just had to throw that in there. :) -Original Message- From: Randal L. Schwar

RE: Printing all values except. . .

2003-03-28 Thread Scot Robnett
This is untested my $query = new CGI; my %names = $query->Vars; foreach my $key(keys(%names)) { print "$key\: $names{$key}\n" if (($key eq 'name') or ($key eq 'email')); } -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: Replacing/deleting text in a text file, part deux

2003-03-28 Thread Scot Robnett
Ahhh, the famous 'map' function - haven't tried it, so I guess it's about time to give it a try. I wasn't too familiar with 'exists' either...thanks for the advice. - Scot Robnett -Original Message- From: Bob Showalter [mailto:[EMAIL PROTECTED] S

RE: Replacing/deleting text in a text file, part deux

2003-03-28 Thread Scot Robnett
Anything I can do to make this an easier question? No responses...maybe I didn't ask the question the right way or made it confusing as to what I am trying to do? Would it help to split it up? Thanks for any advice... Scot R. -Original Message- From: Scot Robnett [mailto:[

Replacing/deleting text in a text file, part deux

2003-03-27 Thread Scot Robnett
Looking at the code below, can anyone help me figure out how to compare the e-mail addresses in @addresses with the e-mail addresses in @emails and print out to the new file as shown, but minus the matching addresses? Scot R. inSite #!/usr/bin/perl -w use CGI; use CGI::Carp qw(fatalsToBrowser);

RE: The very un-useful 'premature end of script headers' error message

2003-03-26 Thread Scot Robnett
RE document to print your HTML code, for example: print $q->h1('Header'); print $q->p('blah blah blah'); or print < Final Order ENDOFHTML # and so on... - Scot Robnett inSite Internet Solutions [EMAIL PROTECTED] -Original Message- From

RE: Replacing/deleting line in a text file

2003-03-26 Thread Scot Robnett
Cool idea...thanks! - Scot Robnett inSite Internet Solutions [EMAIL PROTECTED] -Original Message- From: Bob Showalter [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 26, 2003 1:38 PM To: 'Scot Robnett'; [EMAIL PROTECTED] Subject: RE: Replacing/deleting line in a text f

Replacing/deleting line in a text file

2003-03-26 Thread Scot Robnett
I have a delimited file that is formatted like this: Altech|[EMAIL PROTECTED]:[EMAIL PROTECTED] Specialties Steel Corp. |[EMAIL PROTECTED] Specialty Steel Corp. |[EMAIL PROTECTED]|[EMAIL PROTECTED]:[EMAIL PROTECTED] Starwood|[EMAIL PROTECTED] foods|[EMAIL PROTECTED]

RE: MIME::Lite

2003-03-26 Thread Scot Robnett
in @INC. Can you be more specific? - Scot Robnett inSite Internet Solutions [EMAIL PROTECTED] -Original Message- From: Horace Franklin Jr. [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 26, 2003 10:30 AM To: [EMAIL PROTECTED] Subject: MIME::Lite Clear DayHello, I use this line in

RE: Premature end of script headers

2003-03-24 Thread Scot Robnett
Yes, but it's not correct, there's your premature end of script header right there. You have: print "Content-type:text/html\n\n"; It should be: print "Content-type: text/html\n\n"; - Scot Robnett inSite Internet Solutions [EMAIL PROTECTED

RE: Premature end of script headers

2003-03-24 Thread Scot Robnett
Kim, It appears to be the header issue I mentioned before. Before print

RE: Premature end of script headers

2003-03-24 Thread Scot Robnett
;Content-type: text/html\n\n"; - Scot Robnett inSite Internet Solutions [EMAIL PROTECTED] -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: Good Perl cgi book?

2003-03-18 Thread Scot Robnett
These all helped me... - Learning Perl - Perl/CGI Cookbook - CGI Programming with Perl - Standard POD documentation - http://www.perldoc.com Scot Robnett inSite Internet Solutions -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e

RE: Getting a STDOUT value

2003-03-07 Thread Scot Robnett
Wow! Quite a detailed response...thank you. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Friday, March 07, 2003 9:25 AM To: Scot Robnett Cc: [EMAIL PROTECTED] Subject: RE: Getting a STDOUT value Remember to include the list in your replies, so that

Getting a STDOUT value

2003-03-06 Thread Scot Robnett
Does anyone know how I capture the value of an operation that defaults to STDOUT? For instance if I want to do something like #!/usr/bin/perl -w use strict; my $value = `perl -c someapp.cgi`; # prints to STDOUT print "Content-type: text/html\n\n"; print "Result: $value"; This obviously won't wo

DBI question

2003-02-27 Thread Scot Robnett
I have a script which is supposed to e-mail a user their username/password info as long as their e-mail address is in the database. The following code works if the address is in the database (it prints the approval page and sends the mail with the correct information), but if the address is -not- i

RE: lower casing email address

2003-02-25 Thread Scot Robnett
Myself, I'd go with $lowercase_email = lc($email); - Scot Robnett inSite Internet Solutions [EMAIL PROTECTED] -Original Message- From: David Gilden [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 25, 2003 1:13 PM To: [EMAIL PROTECTED] Subject: lower casing email ad

RE: NULL insertion

2003-02-24 Thread Scot Robnett
ULL,$value,NULL)|) if($key eq "phone"); my $sth = $dbh->prepare(qq|INSERT INTO contactData(Firstname,PhoneNo,FaxNo) VALUES (NULL,NULL,$value)|) if($key eq "fax"); $sth->execute; } # Commit the changes. $dbh->commit; # Disconnect from the database.

RE: ISP won't install Perl modules

2003-01-17 Thread Scot Robnett
web host that willingly installs modules for you. I'm working with one now that is great about this. If you'd like more info, e-mail me offline from the list. Thanks! - Scot Robnett inSite Internet Solutions [EMAIL PROTECTED] -Original Message- From: Rene Verharen [mai

RE: Confusion on @array vs $array[] vs $array

2002-12-18 Thread Scot Robnett
#value %list = ('key0' => 'one', 'key1' => 'two', 'key2' => 'three', 'key3' => 'four'); # $list{'key2'} gives you "t

RE: Confusion on @array vs $array[] vs $array

2002-12-18 Thread Scot Robnett
e the @/$ conventions make things *less* confusing, not more. - Scot Robnett inSite Internet Solutions [EMAIL PROTECTED] -Original Message- From: Lance Murray [mailto:[EMAIL PROTECTED]] Sent: Wednesday, December 18, 2002 11:02 AM To: [EMAIL PROTECTED] Subject: Confusion on @array vs $

RE: html redirect using CGI.pm

2002-12-09 Thread Scot Robnett
p://mydomain.homelinux.net/login.html'}) ]), p('Redirecting to login page'), end_html; - Scot Robnett inSite Internet Solutions [EMAIL PROTECTED] -Original Message- From: Admin-Stress [mailto:[EMAIL PROTECTED]] Sent: Monday, December

RE: html redirect using CGI.pm

2002-12-09 Thread Scot Robnett
You might want to just use redirect(), check perldoc CGI - Scot Robnett inSite Internet Solutions [EMAIL PROTECTED] -Original Message- From: Admin-Stress [mailto:[EMAIL PROTECTED]] Sent: Monday, December 09, 2002 2:42 PM To: perl cgi Subject: html redirect using CGI.pm Hi, Could

Upload (probably a stupid question)

2002-12-06 Thread Scot Robnett
s and Settings\SRobnet\Desktop\test.xls How can I get it to just leave the filename as "test.xls" on the remote server without appending my entire local path to it? ----- Scot Robnett inSite Internet Solutions [EMAIL PROTECTED] -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional c

Was: "5.005_03 vs. 5.8", should be "pure perl"

2002-12-04 Thread Scot Robnett
another alternative it would be great to know what it was; can you please post a link to any help docs? Thanks. Scot R. inSite -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Wednesday, December 04, 2002 11:55 AM To: Scot Robnett; Octavian Rasnita Cc: [EMAI

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]

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

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

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

  1   2   >