Re: PHP tags and WML pages!

From: Date: Wed, 07 Nov 2001 13:32:08 +0000
Subject: Re: PHP tags and WML pages!
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-73727@lists.php.net to get a copy of this message
Here's a way: <?php echo '<'."?xml version=\"1.0\"?>"; ?> <!DOCTYPE etc... -- Julio Nobrega A hora está chegando: http://toca.sourceforge.net "_lallous" <elias_bachaalany@yahoo.com> wrote in message news:20011107125325.31483.qmail@pb1.pair.com... > hello. > > > Here is how a WML page should start (if i'm not wrong) : > > <?xml version="1.0"?> > <!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN" > "http://www.wapforum.org/DTD/wml_1.1.xml"> > <wml> > . > <? > file://php code here > ?> > . > </wml> > > > Now a big problem arise when PHP tries to parse that page cause it first > encounters the <?xml ....?> > > I can't turn off the ShortTags so that <?php?> instead of <??>... > how can i solve this? > > >

« previous php.general (#73727) next »