using Net::SMTP

2002-06-20 Thread Nate Brunson
is there a way I can get Net::SMTP to return errors that it might encounter into a variable, or something? so that on the page that pops up after the mail is sent, it can display errors if there were any. I have read the man page on it and cant figure out a way to do this any help would be app

Net::SMTP question

2002-06-13 Thread Nate Brunson
dun dun . Could the fact that I never used the quit command break the CFmail script? any help would be appreciated thanx Nate Brunson

sql script crashes!

2002-05-16 Thread Nate Brunson
ed the query, or it froze up, OR SOMETHING :( does the anonymous user on the server(the one that IIS uses for anon internet access) have to have special permissions to close a DB? if anyone can help me out on this subject, i would forever be in your debt :) nate brunson [EMAIL PROTECTED]

lexical scopes vs. packages

2002-05-06 Thread Nate Brunson
ok so i didnt know who else to ask this question to... and it doesent really have to do with cgi or anything im just wondering say you have some code: sub read_input { my ($buffer, @pairs, $pair, $name, $value, %FORM); $ENV{'REQUEST_METHOD'} =~ tr/a-z/A-Z/; if ($ENV{'REQUEST_METHOD'} eq "PO

running perl with -w

2002-04-11 Thread Nate Brunson
when you run perl with the -w flag does perl store all the warnings in a variable, like $!? or is $! only errors? the reason I ask is I am using flash to run a .cgi script then print back the scripts results to flash, but for testing I want to be able to see some of the warnings I get, but

reading from an MSaccess DB, and it crashes perl.exe

2002-04-02 Thread Nate Brunson
: $row->{Description}\n\n"; } print "\<\/pre\>"; the error i get when it crashes is "perl.exe has preformed errors, and must be restarted" or something to that effect ps. incase you didnt figure it out im on windows 2000 machine :( any help would be awsome!! nate brunson

run a perl script onunload????

2002-03-05 Thread nate brunson
hello i dont know if anyone read my last post, but i made a perl script that would track where people go on my site, so if they went to "my portfolio" then when the section loaded a perl script would update the current count for that section, i thought that it would get pretty prossesor intens

site logging

2002-03-04 Thread Nate Brunson
so i wrote a script that had a read from a text file a list of all the sections on my site, and then i made it so that every time some one visited a section it would increment the count, then i thought about it, say there are four people on my site, and all of them are clicking on different sec

making a dns record on the fly

2002-02-06 Thread Nate Brunson
Hi i need to make a perl script that will make DNS 'A' records on the fly, like i pass is the nameand it will make and A record according to the name, ie: i pass it "dumbsub" from and html file and it creates "dumbsub" A record in a specified zone, like cool.com, and points it to a specified i

running script in netscape

2001-12-26 Thread Nate Brunson
ok i have this script that reads a directory full of images and creates an html page with thumbnails of all the images and a link to the fullsized images. and it works just fine in IE, but in netscape it tries to download it, is there something im missing...oh yeah and the ways i have tried r

never mind

2001-12-03 Thread Nate Brunson
ok i figured out what i did wrong, no need to reply.. thnx nate

another weather question, kinda

2001-12-03 Thread Nate Brunson
ok so im still working away on this weather thing(i would like to thank mark solomon, if he ever reads this stuff, for writing a great weather modual!!!) but im searching a variable for a certain phrase, its not finding it, but i know its there, and i cant figure out whats not matching,(i suck

small question?

2001-10-26 Thread Nate Brunson
when perl reads in $ENV{'REMOTE_ADDR'} is it a number or a string? and if its a number what do i have to do to compare it to a string, IE: $ipaddy = $ENV{'REMOTE_ADDR'}; if ($ipaddy eq $blah){ #do something here } were $blah is a string. should i convert $blah to a number, or

read I/O function

2001-10-25 Thread Nate Brunson
ok this is my delema, i am trying to read from this file using: read(FILEHANDLE, $buffer, $size); because the file size will be different every time i try to read it (stuff gets added to it all the time)i wanted to use a variable to store the file size, but i dont know how to update that vari