RE: [PHP-WIN] Wap vs. PHP
| From: | Robin Bolton | Date: | Thu, 09 Nov 2000 20:36:37 +0000 |
| Subject: | RE: [PHP-WIN] Wap vs. PHP | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-3769@lists.php.net to get a copy of this message | ||
Put the following within your PHP script in a place where it will print
within your <head> declaration:
print "<meta http-equiv=\"Content-Type\" content=\"text/html;
charset=iso-8859-1\">";
You can then change the content type to text/wml (or whatever the
appropriate mimetype is).
That should tell the emulator that the document is of whatever mimetype you
specify, and it will deal with it appropriately.
-----Original Message-----
From: Michael S. Norum [mailto:lostsoul@start.no]
Sent: November 9, 2000 1:24 PM
To: PHP Windows List
Subject: [PHP-WIN] Wap vs. PHP
i'm trying to write a wml file for wap that will enable users to store
information on my server. i want to use php on the server side to use store
the info. however, i've written a php script that generates a wml file
instead of a html file, but the wap browser won't accept it.
when viewing the source of the document in the wap emulator it says that the
document received is of html/text format... do you have any idea of how i
can solve this?
any help appreciated
Michael
"Alle kan stave REX BOMBASA"
http://denandresiden.cjb.net
http://www.geocities.com/zymosis2000
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, e-mail: php-windows-unsubscribe@lists.php.net
For additional commands, e-mail: php-windows-help@lists.php.net
To contact the list administrators, e-mail: php-list-admin@lists.php.net