Using a CSS file

2004-12-08 Thread Graeme St. Clair
I have code like this in a Windows XP sys, w. Apache 1.3.27 and Perl 5.6.1:- $formData = new CGI(); print $formData->header( -expires=> 'now'); print $formData->start_html( -title => $title, # -style => { 'src' => 'blah.css' },

RE: Using a CSS file

2004-12-08 Thread Graeme St. Clair
David & Sean: the hints about cgi-bin and htdocs (plus my own unfollowed-up attempt at 'src' => '../blah.css' were enough. I simply moved blah.css to htdocs, and bingo. Lawrence: you seem to be suggesting something close to my $css approach, but as I have a couple of other pages to bring into lin

RE: bind values and cgi params

2005-01-06 Thread Graeme St. Clair
You wouldn't by any chance be calling it $pid in one place and $position_id in another? DARFC, GStC. -Original Message- From: Robert [mailto:[EMAIL PROTECTED] Sent: Thursday, January 06, 2005 2:49 PM To: beginners-cgi@perl.org Subject: bind values and cgi params I have a form that is s

Use Strict

2005-01-13 Thread Graeme St. Clair
In accordance with The Rules, I added use strict & use warnings to a script invoked from a browser page on the same machine. Last time I did this, as soon as I used the browser page, Apache 'error.log' promptly showed scads of msgs along the lines of '[Wed Dec 08 11:03:52 2004] [error] [client ###

RE: Use Strict

2005-01-13 Thread Graeme St. Clair
hange? Rgds, GStC. -Original Message- From: Randy W. Sims [mailto:[EMAIL PROTECTED] Sent: Thursday, January 13, 2005 6:59 PM To: Graeme St. Clair Cc: beginners-cgi@perl.org Subject: Re: Use Strict Graeme St. Clair wrote: > In accordance with The Rules, I added use strict & us

RE: Use Strict

2005-01-14 Thread Graeme St. Clair
ssage- From: Ovid [mailto:[EMAIL PROTECTED] Sent: Thursday, January 13, 2005 8:09 PM To: Graeme St. Clair; beginners-cgi@perl.org Subject: RE: Use Strict --- "Graeme St. Clair" <[EMAIL PROTECTED]> wrote: > Now I have another Q arising out of this. I have an irreducible pair

RE: Read Write to file .. need help

2005-01-14 Thread Graeme St. Clair
Oddly enough, I was improving the shining hour in a hospital waiting room earlier today by reading the camel book Chapter 23 Security. There is a good discussion of this whole topic, bearing very exactly on what Luinrandir is trying to do. L, if you haven't already got this book "Programming Perl

Incorrect HTML Rendering?

2005-02-07 Thread Graeme St. Clair
I have the following to kick off an HTML page:- http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd " [ ] > http://www.w3.org/1999/xhtml " lang="en-US" xml:lang="en-US"> ... &help;Blah ... The page

RE: Incorrect HTML Rendering?

2005-02-08 Thread Graeme St. Clair
M To: 'beginners-cgi@perl.org' Subject: Re: Incorrect HTML Rendering? On Mon, Feb 07, 2005 at 05:42:45PM -0800, Graeme St. Clair wrote: > Mozilla will support it in XHTML mode, but not tag soup mode (serve it as application/xhtml+xml not text/html). A better solution would be to u