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
# 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
{ 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.
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
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
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
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
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
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
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
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
]
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
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
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
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
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
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
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
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 /
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
[
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
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
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
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
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-
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
/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.
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
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"
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
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
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
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,
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
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
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
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
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
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
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
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
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) {
>
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
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
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
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:
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
> 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
$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.
]
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
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
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:
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
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
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
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
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
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
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: <
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
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:
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:
> 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
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->
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
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
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
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
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
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
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
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
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
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
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
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
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
=> 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
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
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
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 :
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
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
"
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
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
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
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]
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
"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
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
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
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
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
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
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
#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
, 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]
Thanks to all for your input on this.
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
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
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 - 100 of 177 matches
Mail list logo