Re: Best Token Char For Template

2003-10-10 Thread Wiggins d'Anconia
[EMAIL PROTECTED] wrote: 1 - What is the best char to use in a file template? Also, please give me a good regex? A character *guaranteed* (which is a very strong word) not to exist in the template, but that's in an ideal world... I will have a formatted html page with some keys that I want to

Re: Reg ex help

2003-10-10 Thread Wiggins d'Anconia
Johnstone, Colin wrote: Gidday All, I am writing a print this page script. I have slurped in the page to be printed and now want to strip out the stuff to print. To do this I have created the following tag sets in the html page. I need to write a regex to achieve this. In general attempting

Re: CGI Scripts

2003-10-10 Thread Wiggins d'Anconia
Phillip Bruce wrote: Wiggins d'Anconia wrote: Thanks for the suggestions. Now I get totally different error. I ran this on the command line and get following: % ./survey.cgi Content-type: text/html Substitution replacement not terminated at ./survey.cgi line 37. Here is my code changes I've ma

Re: CGI Scripts

2003-10-10 Thread Phillip Bruce
Wiggins d'Anconia wrote: Phillip Bruce wrote: Hi, I have the following form that I use as survey I that I'm building for my web site. Now here is the CGI script I've written so far. #!/usr/bin/perl # use Mail::Internet; use strict; # always use warnings; # usually, at least during devel

Re: CGI Scripts

2003-10-10 Thread Wiggins d'Anconia
Phillip Bruce wrote: Hi, I have the following form that I use as survey I that I'm building for my web site. Now here is the CGI script I've written so far. #!/usr/bin/perl # use Mail::Internet; use strict; # always use warnings; # usually, at least during development # Collect parameter

Re: server side includes using cgi

2003-10-10 Thread Todd Farmer
It looks like Apache 2.0 supports parsing CGI scripts for SSI. I found this at http://httpd.apache.org/docs-2.0/new_features_2_0.html: Filtering Apache modules may now be written as filters which act on the stream of content as it is delivered to or from the server. This allows, for example, the

CGI Scripts

2003-10-10 Thread Phillip Bruce
Hi, I have the following form that I use as survey I that I'm building for my web site. https://www726.vwh1.net/peggy1/cgi-local/surve y.cgi"> Are you a new cutomer or a returning customer? New Customer Return ing Customer How did you learn about Peggy's Health Center? Web Site Email Searc

Re: server side includes using cgi

2003-10-10 Thread Todd Farmer
I think I remember this was to change with Apache 2.0. Does anybody know if this is true or just wishful thinking? Todd F. > > "Dale Young" <[EMAIL PROTECTED]> wrote in message > news:[EMAIL PROTECTED] > > Hello all, > > > > I have been trying include a 'server side include' in a cgi script u

RE: Form creation and parsing

2003-10-10 Thread Jonathan E. Hogue
I use windows/activestate, so I use the ppm to install modules. There is the cpan module for other distros which works similarly. http://www.perl.com/pub/a/2002/03/26/cpanplus.html >From the documentation, the command should look something like > cpanp cpan> i cgi::formbuilder ( I'm just guessin

Re: Form creation and parsing

2003-10-10 Thread [EMAIL PROTECTED]
Thanks for your hints, I've tried to use the script from Jonathan (I've just received the scripts from zentara), but I got an error in this line: use CGI::FormBuilder; I think I miss some package. Is this right? I use Debian Linux, does anyone know which package do I have to install? Thanks alot! P

Re: server side includes using cgi

2003-10-10 Thread Todd Wade
"Dale Young" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hello all, > > I have been trying include a 'server side include' in a cgi script used to generate a html page with no success. I have redirected the output from the script to a static html file which displays correctly in