Posted by tom 4 years 24 weeks ago
Hi,
I try to develop mobile website based on PHP language. Everything is ok on the computer screen, but when i check it on my Sony Ericsson K750i, i can see some unexpected characters. I've localized this problem: when i use include(); function, it returns character on my mobile phone screen (small square). The same situation is when i check my site with ready.mobi (visualization). Whenever i use this function (include,require,inlude_once...), it is always the same... ;(
Does anyone know good solution to solve this problem?




Posted by admin 4 years ago
Hi Tom,
Can you post some code?
Posted by tom 4 years ago
header looks like this:
<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE html PUBLIC "-//WAPFORUM//DTD XHTML Mobile 1.0//EN" "http://www.wapforum.org/DTD/xhtml-mobile10.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="pl"> <link rel="stylesheet" type="text/css" href="css/style.css" /> <head><title></title> <meta http-equiv="Cache-Control" content="max-age=6000" /> </head><body>...and php code:
<?php include( 'test.php') ?>test.php file: