i wanna knw is it possible 2 prevent caching pages....
i have no problem with this....
but it wont show all of letters tht i use (š đ ž č ć) when users posting replys/inboxing etc.... it shows sum strange hieroglyphics when š đ ž č ć r in use... lol
so i changed lil bit
and tht way letters š đ ž č ć r visible normal at all browsers....
but then starts the problem.... pages r caching as hell.... u read the PM but it stays as unreaded, u post a reply but theres no reply..... i mean reply is posted sucesfully, but tht page i cached and u always get the same old page....lol
so is there a way 2 prevent caching pages??
i have no problem with this....
but it wont show all of letters tht i use (š đ ž č ć) when users posting replys/inboxing etc.... it shows sum strange hieroglyphics when š đ ž č ć r in use... lol
Code:
header("Content-type: text/vnd.wap.wml");
header("Cache-Control: no-store, no-cache, must-revalidate");
echo("<?xml version=\"1.0\"?>");
echo "<!DOCTYPE wml PUBLIC \"-//WAPFORUM//DTD WML 1.1//EN\"". " \"http://www.wapforum.org/DTD/wml_1.1.xml\">";
Code:
header("Content-type: text/vnd.wap.wml; charset=utf-8");
header("Cache-Control: no-store; no-cache; must-revalidate");
echo("<?xml version=\"1.0\" encoding=\"UTF-8\"?>");
echo "<!DOCTYPE wml PUBLIC \"-//WAPFORUM//DTD WML 1.1//EN\"". " \"http://www.wapforum.org/DTD/wml_1.1.xml\">";
but then starts the problem.... pages r caching as hell.... u read the PM but it stays as unreaded, u post a reply but theres no reply..... i mean reply is posted sucesfully, but tht page i cached and u always get the same old page....lol
so is there a way 2 prevent caching pages??

Comment