Re: PHP and XHTML

From: Date: Wed, 18 Jul 2001 16:17:42 +0000
Subject: Re: PHP and XHTML
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-58466@lists.php.net to get a copy of this message
echo '<'."?xml version=\"1.0\" encoding=\"UTF-8\"?".'>'; Also, you may set short open tags off so php is only activated between <?php and ?>. -- Julio Nobrega. Because happiness is a warm gun Bang-bang shoot-shoot "Daniel Rose" <daniel.rose@datalinesolutions.com> wrote in message news:004301c10f49$a9b18fe0$0a01a8c0@w98... > Hi, > I have looked through the history of the list, and I see that several people > have said that PHP fully supports XHTML. I have some problems using XHTML > with PHP, namely parse errors, such as a parse error on the first line of > every XHTML doc. > <?xml version="1.0" encoding="UTF-8"?> > > Version of PHP is 4.0.6, and it was compiled like so: > './configure' '--with-apxs=/usr/local/apache/bin/apxs' > '--with-xml' > '--with-gd=/usr' '--with-jpeg-dir=/usr/local' > '--with-png-dir=/usr/local' > '--with-zlib' '--with-mysql' '--enable-track-vars' > '--with-mcrypt' > (all from phpinfo()) > > Does anyone have any ideas? > Please CC replies as I am not subscribed to the list > Sincerely, > > Daniel Rose >

« previous php.general (#58466) next »