RE: [PHP-WIN] Wap vs. PHP
| From: | Nold, Mark | Date: | Fri, 10 Nov 2000 01:10:11 +0000 |
| Subject: | RE: [PHP-WIN] Wap vs. PHP | ||
| Groups: | php.windows | ||
| Request: | Send a blank email to php-windows+get-3772@lists.php.net to get a copy of this message | ||
----------------------------------------------------------------------------
-----------------
Disclaimer: The information contained in this email is intended only for the
use of the person(s) to whom it is addressed and may be confidential or
contain legally privileged information. If you are not the intended
recipient you are hereby notified that any perusal, use, distribution,
copying or disclosure is strictly prohibited. If you have received this
email in error please immediately advise us by return email at
postmaster@normandy.com.au and delete the email document without making a
copy.
----------------------------------------------------------------------------
-----------------
I know nothing about WML but shouldnt you put the Content-Type in with a
Header() call?
Mark Nold
markn@enspace.com <mailto:markn@enspace.com>
Senior Consultant
Change is inevitable, except from vending machines.
-----Original Message-----
From: Robin Bolton [mailto:sillyboy@mindless.com]
Sent: Friday, November 10, 2000 4:37 AM
To: PHP Windows List
Subject: RE: [PHP-WIN] Wap vs. PHP
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