Re: Getting content of a configuration file

2002-05-30 Thread Todd Wade
"Sven" <[EMAIL PROTECTED]> wrote in message 027901c204e8$fa475da0$14e307d5@brian">news:027901c204e8$fa475da0$14e307d5@brian... ... > $context = $q->param(context); > > require "conf.txt"; > open(READ, "conf.txt") or die "Error opening file: conf.txt, Errorcode: > $!\n"; > close(READ); I dont un

Re: Insertion of table causes syntax error-message

2002-05-30 Thread Todd Wade
"Richard Krause" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Hi all > (...) > #td(['Broccoli' , 'no', 'no', 'yes']), > #td(['Onions' , 'yes','yes', 'yes']) > #] > #) missing

Re: URL for security issue?

2002-05-30 Thread Ovid
--- John Brooking <[EMAIL PROTECTED]> wrote: > Gang, > >A week or three ago, someone referred to a page > that discussed security issues when using CGI input to > send out to a web page. I thought I had bookmarked the > page or saved the email, but I can't find it now. > Could whoever posted

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: URL for security issue?

2002-05-30 Thread John Brooking
Actually, I may have just found it. I think it was "Preventing Cross-site Scripting Attacks" at http://www.perl.com/pub/a/2002/02/20/css.html. In any case, that's good reading, and if anyone has any others to pass along, feel free. If I get enough, I'll publish a links page of them for future refe

RE: URL for security issue?

2002-05-30 Thread Scot Robnett
I don't know if this was one of the retransmissions you were looking for, but here you go just in case. - I usually do a combination of things. * You can check domains, but they can be spoofed, so that in itself is not a cure. It's a start.

Re: Insertion of table causes syntax error-message

2002-05-30 Thread Dave K
Richard, You did take that from the 'Rat' book, but in the book use CGI qw( standard ); Allows the author to use an implicit $q-> so he can write table where as you need to write $q->table, $q->Tr, $q->td etc. HTH "Richard Krause" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[E

Re: URL for security issue?

2002-05-30 Thread David T-G
John, et al -- ...and then John Brooking said... % % Gang, Hello! % %A week or three ago, someone referred to a page % that discussed security issues when using CGI input to % send out to a web page. I thought I had bookmarked the % page or saved the email, but I can't find it now. % Cou

Re: Problems with perl.beginners.cgi?

2002-05-30 Thread David T-G
Richard -- ...and then Richard Krause said... % % Hi all Hello! % % Is there something wrong with perl.beginners.cgi? No new postings since 28th % may and I posted hours ago and my message isn't showing up. Is there a % adress to report this to? I don't know that there's anything wrong with

URL for security issue?

2002-05-30 Thread John Brooking
Gang, A week or three ago, someone referred to a page that discussed security issues when using CGI input to send out to a web page. I thought I had bookmarked the page or saved the email, but I can't find it now. Could whoever posted it please do so again, or maybe just email it to me private

Insertion of table causes syntax error-message

2002-05-30 Thread Richard Krause
Hi all I'd like to generate a html page in a subroutine of my guestbook but I get a syntax error pointing to the line where $q->end_html; is written as soon as I include a table. If executed without the table, the script runs well. (the table is copied from perldoc.cgi and its content will be rep

Re: cisco log parsing

2002-05-30 Thread drieux
On Wednesday, May 29, 2002, at 12:29 , Hernan Marcelo Salvarezza wrote: > Hello people [..] > the scripts works fine with a small log but when i try to run it in the > long log file it displays all the log file > just as if it is being opened with cat. way strange... > I am trying to get just