At 12:33 28.06.2003, Daniele Baroncelli said: --------------------[snip]-------------------- >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.
I believe short_open_tag is set to "On" in php.ini, thus when seeing '<?', PHP starts acting. >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? Within your PHP code: echo '<?xml...'; -- >O Ernest E. Vogelsinger (\) ICQ #13394035 ^ http://www.vogelsinger.at/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php