Michi
09-30-2003, 12:03 PM
I'm making my vbulletin WAP- compatible, and have gotten to the point where unregistered users can post new threads and reply to old ones via WAP. But I got stuck with the redirect page (uses template standardredirect). I made a wap- version of the template, which is 100% validated WML. Still, the redirect page is the only one that my wap browser (WinWap 3.1 pro) says is not wml, but text/html.
In the beginning of the source code of a working page, WinWap shows this header:
HTTP/1.1 200 OK
Date: Tue, 30 Sep 2003 12:26:09 GMT
Server: Apache/1.3.28 (Unix) mod_watch/3.18 mod_gzip/1.3.26.1a PHP/4.3.3 FrontPage/4.0.4.3 mod_ssl/2.8.15 OpenSSL/0.9.6b
X-Powered-By: PHP/4.3.3
X-Accelerated-By: PHPA/1.3.3r2
Connection: close
Content-Type: text/vnd.wap.wml; charset=ISO-8859-1
But on the redirect page the last line of the header is
Content-Type: text/html
What can this be? All my files are in the same folder, so I guess that even though I tried to get rid of all Vbulletin's automatically created headers, there's still some line somewhere that tells the browser that it's dealing with html, not wml. The problem page is the only page that's made from customizing an original vb page, newthread.php & newreply.php.
Ideas?
In the beginning of the source code of a working page, WinWap shows this header:
HTTP/1.1 200 OK
Date: Tue, 30 Sep 2003 12:26:09 GMT
Server: Apache/1.3.28 (Unix) mod_watch/3.18 mod_gzip/1.3.26.1a PHP/4.3.3 FrontPage/4.0.4.3 mod_ssl/2.8.15 OpenSSL/0.9.6b
X-Powered-By: PHP/4.3.3
X-Accelerated-By: PHPA/1.3.3r2
Connection: close
Content-Type: text/vnd.wap.wml; charset=ISO-8859-1
But on the redirect page the last line of the header is
Content-Type: text/html
What can this be? All my files are in the same folder, so I guess that even though I tried to get rid of all Vbulletin's automatically created headers, there's still some line somewhere that tells the browser that it's dealing with html, not wml. The problem page is the only page that's made from customizing an original vb page, newthread.php & newreply.php.
Ideas?