Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Perl Beginners Cgi > Re: first steps...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 2 of 9 Topic 1416 of 1496
Post > Topic >>

Re: first steps with mod_perl

by noreply@[EMAIL PROTECTED] (Gunnar Hjalmarsson) Sep 19, 2007 at 12:39 AM

Marek wrote:
> First question: this cgi script inserts an strange DOC-Type, from
> which I have never heard off:
> 
> <!DOCTYPE html
> 	PUBLIC "-//W3C//DTD XHTML Basic 1.0//EN"
> 	"http://www.w3.org/TR/xhtml-basic/xhtml-basic10.dtd">
> 
> May I force mod_perl to insert an other doc-type? For example:
> 
> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
>         "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

What has mod_perl to do with it?

Rather than trying to figure out how to make CGI.pm do it, why don't you 
skip the start_html() function and print directly the HTML version info 
you like.

> Or is this probably the configuration on the server,

No.

> I am trying to produce valid html. ... Under xhtml-sctrict should be 
> inserted: checked="checked"! How to achieve this?

Other than printing the checkbox manually, I don't know.

-- 
Gunnar Hjalmarsson
Email: http://www.gunnar.cc/cgi-bin/contact.pl
 




 9 Posts in Topic:
first steps with mod_perl
mstep@[EMAIL PROTECTED]   2007-09-18 11:46:19 
Re: first steps with mod_perl
noreply@[EMAIL PROTECTED]  2007-09-19 00:39:30 
Re: first steps with mod_perl
mstep@[EMAIL PROTECTED]   2007-09-22 03:26:05 
Re: first steps with mod_perl
noreply@[EMAIL PROTECTED]  2007-09-23 20:32:19 
Re: first steps with mod_perl
mstep@[EMAIL PROTECTED]   2007-09-30 05:39:09 
Re: first steps with mod_perl
noreply@[EMAIL PROTECTED]  2007-10-06 23:00:21 
Re: first steps with mod_perl
mstep@[EMAIL PROTECTED]   2007-10-08 20:04:40 
Re: first steps with mod_perl
david@[EMAIL PROTECTED]   2007-10-09 11:07:59 
Re: first steps with mod_perl
mstep@[EMAIL PROTECTED]   2007-10-10 08:28:18 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Sat Nov 22 10:46:47 CST 2008.