RE: [PHP-DEV] PHP and WAP
| From: | Robert King | Date: | Wed, 24 May 2000 20:15:02 +0000 |
| Subject: | RE: [PHP-DEV] PHP and WAP | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-19392@lists.php.net to get a copy of this message | ||
>Now my question: PHP syntax, as we know, is <? application code ?>. How
do
>we get around this for the conflicting WML syntax <?xml version="1.0">,
short
>of turning off "short_open_tag" in php.ini? [Perhaps if PHP were to not
>evaluate <?xml as the start of PHP application code?]
it's lame, but hey:
<?
print "<"."?"."application code"."?".">";
?>
eg
<?
print "<"."?xml version=\"1.0\"?".">";
?>
Dieter Kneffel wrote:
> Zeev Suraski schrieb:
> > If you use PHP 4.0 (which you should), you can edit the php.ini file and
> > modify the default mime type to be text/vnd.wap.wml:
> > default_mimetype = "text/vnd.wap.wml"
--
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: php-dev-unsubscribe@lists.php.net
For additional commands, e-mail: php-dev-help@lists.php.net
To contact the list administrators, e-mail: php-list-admin@lists.php.net