Running WML (WAP services) under PHP

From: Date: Sun, 09 Dec 2001 22:08:23 +0000
Subject: Running WML (WAP services) under PHP
Groups: php.general 
Request: Send a blank email to php-general+get-77164@lists.php.net to get a copy of this message
Hello, I am trying to develop some WML apps using PHP. To run WML apps into my local Apache (win98) server, I added AddType application/x-httpd-php .wml into httpd.conf. This works ok when calling directly from netscape http://localhost/mywml.wml , treating script like a true PHP program. BUT.... when writing a REAL WML app. (cards and so) and trying to run on NOKIA simulator (by calling URL), it shows a parse error on line 1 (for all scripts). The same script, when executed in file mode on NOKIA sim (that is first load .wml file and then press SHOW button) , works fine, proving the error is not in script, but in way PHP interpret .WML pages. I suspect PHP introduces some invisible code (just 1 byte?) or something at beginning of .WML page. Thanks for your attn. Miguel

« previous php.general (#77164) next »