frosty1575
Programmer
Hello all,
I recently upgraded from PHP3 to PHP4 and it seems that the header() function doesn't work propoerly
In order to generate WML with PHP, you need to insert the
header("Content-type: text/vnd.wap.wml"
before sending anything to the browser
This was working fine with PHP3 but now my phone returns me the message : "Unsupported Content-Type : text\html".
I don't understand why PHP still sends HTML headers.
I would be grate ful to anyone who could help me !
Have a nice day
Thomas
I recently upgraded from PHP3 to PHP4 and it seems that the header() function doesn't work propoerly
In order to generate WML with PHP, you need to insert the
header("Content-type: text/vnd.wap.wml"
before sending anything to the browser
This was working fine with PHP3 but now my phone returns me the message : "Unsupported Content-Type : text\html".
I don't understand why PHP still sends HTML headers.
I would be grate ful to anyone who could help me !
Have a nice day
Thomas