Hi guys,

I have problem in including this text in my PHP parsed file for XHTML
definition:

<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";>
<html xmlns="http://www.w3.org/1999/xhtml";>


It works if I remove the first line:

<?xml version="1.0" encoding="iso-8859-1"?>


So, I am assuming PHP has problems with the <? ?> symbols, as they are
recognised to be PHP code delimiters.

Considering that I don't have control of the PHP configuration on the
server, does anyone have any idea of how I could handle this parsing
problem, still being able to define the file as XHTML?


Cheers

Daniele



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to