RE: Inserting a Form Feed Using a Format Statement

2003-03-21 Thread Jattie van der Linde
The ASCII code for a formfeed is 12 so you should be able to embed that in a string as '\xC' I haven't tried it myself but it works for newlines and carriege returns. -Original Message- From: Theresa Mullin [mailto:[EMAIL PROTECTED] Sent: Thursday, March 20, 2003 15:53 To: [EMAIL

directory help

2003-03-21 Thread Lile, James AZ2 (VAW-115)
Hello, I am writting a script to find and link to all the files through out a whole website. I have had trouble with finding and opening directories on a winNT system, does anyone have a idea on how to find and open all directories and desplay their contents? my code... $base =

mod_perl books, cpan modules.

2003-03-21 Thread entius
I want to learn mod_perl and there're two books who talk about this. Now a third has arrives and it's talking about 2.0 mod_perl but i am a Lincoln Stein fan and i want the Writing Apache Modules with Perl and C. But the last edition is still about 1.3, anyone knows anything about any intention

RE: mod_perl books, cpan modules.

2003-03-21 Thread wiggins
On 20 Mar 2003 09:33:56 -, entius [EMAIL PROTECTED] wrote: I want to learn mod_perl and there're two books who talk about this. Now a third has arrives and it's talking about 2.0 mod_perl but i am a Lincoln Stein fan and i want the Writing

Re: Trying to block out BGCOLOR

2003-03-21 Thread Li Ngok Lam
What about the user says : body text=#123456 bgcolor=#aabbcc or body bgcolor='#123456' or body bgcolor= red Anyway, the bgcolor can be formed or change again via javascript or CSS. I mean, blocking bgcolor in body tag cannot solve your potential problem. But you may find someway to put this in

Re: Trying to block out BGCOLOR

2003-03-21 Thread Jimmy George
Hello World Li Ngok Lam's approach looks good to me. Using the $line=~s// approach appears to be only removing the bgcolor word correctly but could be stuck on the different types of colour descriptor used. Is it RGB, hex or a word? Putting a background color descriptor in though allows you to

Re: Trying to block out BGCOLOR

2003-03-21 Thread drieux
volks, brief prefix. I believe Li Ngok Lam has found a clear 'issue' in the original request for solving a regex problem. my working assumption was that the OP needed a filter that would clean up a bunch of pre-existing static *.html files because the site had adopted a new scheme, and so these

Re: Trying to block out BGCOLOR

2003-03-21 Thread WilliamGunther
Just so everyone knows, it was for a print friendly part of a CMS-type script. With all your help, it was solved, with a regex. It wasn't just for the body tag, It is for EVERY tag, and I blocked the BGCOLOR, BACKGROUND, STYLE, CLASS, ID, COLOR, and more attributes to totally make the page both