[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Output Before DOCTYPE?

Subject: Output Before DOCTYPE?
From: Michael B Allen <mba2000@xxxxxxxxxx>
Date: Wed, 7 Dec 2005 14:58:00 -0500
before doctype
Is there any way to specify that some content should preceed the
<!DOCTYPE> tag?

I need output like:

  <?php setcookie("test", "value", time() + 60); ?>
  <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
  <HTML>
  <HEAD>
  ...

The PHP setcookie() function MUST be called before any content is sent
to the client browser since it requires modifying headers.

Any suggestions?

Thanks,
Mike

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.