andrisp Posted March 30, 2006 Report Share Posted March 30, 2006 Ir divi faili. Abi UTF bez BOM simbola. viens: <? ob_start('tests'); echo '<tags>Saturs</tags>'; $page_content = ob_get_contents(); ob_end_clean(); require('lapa.php'); ?> Un: <html> <head> ... </head> <body> <?php echo $page_content; ?> </body> </html> Zinu - izskatās nesakarīgs un nevajadzīgs, un nelabs, bet tāds šis kods ir lai parādītu struktūru un ideju manai problēmai. Un problēma - $page_content sākumā nez kāpēc parādās kaut kāds dīvains characters. Skatoties sourci iekš FF nav redzams, bet iekš IE ir redzams. Kur varētu būt problēma ? Paldies Link to comment Share on other sites More sharing options...
Stopp Posted March 30, 2006 Report Share Posted March 30, 2006 varbūt pievieno tan'i pirmajā faiā header("Content-type: text/html;charset=utf-8"); Link to comment Share on other sites More sharing options...
andrisp Posted March 30, 2006 Author Report Share Posted March 30, 2006 (edited) diemžēl nelīdz, bet man šķiet esmu uz pēdām problēmai =) Edited March 30, 2006 by andrisp Link to comment Share on other sites More sharing options...
Kristabs Posted March 30, 2006 Report Share Posted March 30, 2006 uztaisi jaunu failu un paarnes tekstu copy/paste. Izdzees ieprieksheejo un noseivo jauno ar taadu pashu vaardu. Link to comment Share on other sites More sharing options...
Recommended Posts