View Single Post
Old 03-09-2006, 08:51 AM   #8 (permalink)
DJMaze
Senior Contributor
 
DJMaze's Avatar
 
Join Date: Mar 2005
Posts: 733
DJMaze is on a distinguished road
Cool you got it working, the only thing i see in the source is many DOCTYPE and <html>

Normaly a document only allows one of them so get rid of that in your recipes (.html files) since rindex.php handles that.

Another thing i see is � (question marks) this caused by unknown characters like backticks.
These chars are language dependant so you should set the correct Content-Type for processing.
By default Apache uses 'utf8' but you are using something else like iso-8859-1.

Either edit your html files to be in utf8/unicode or set the Content-Type.

A simple unicode supported editor is notepad2 on windows or vim on linux.
http://flos-freeware.ch/notepad2.html

modify Content-Type:
rindex.php
PHP Code:
<?php
// headers must be send BEFORE any output (echo, print, etc.)
// see http://www.w3.org/International/O-HTTP-charset
header('Content-Type: text/html; charset=utf-8');
?>
<html>
<body>
<table>
DJMaze is offline   Reply With Quote