Subject: Output Before DOCTYPE?
From: Michael B Allen <mba2000@xxxxxxxxxx>
Date: Wed, 7 Dec 2005 14:58:00 -0500
|
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
|