As a result, the browser cant load the css file and cant handle most of the html tags. When I run the scripts with my local win32/php4.0.5/Apache1.3.14 (Win32) environment, there are no problems. But when i use it in my server linux/php4.2.1/Apache1.3.24 environment, it sometimes dont work.
When I pars a template html file, the parse engine of tempate.inc sometimes parses html code with escaped quotas ( " ) like this:
<link rel=\"stylesheet\" href=\"../templ/holz.css\">
...
<body bgcolor=\"#ffffff\" class=\"t_blau\">
...
<div align=\"left\">
As a result, the browser cant load the css file and cant handle most of the html tags. When I run the scripts with my local win32/php4.0.5/Apache1.3.14 (Win32) environment, there are no problems. But when i use it in my server linux/php4.2.1/Apache1.3.24 environment, it sometimes dont work.
I use the template-class like this:
include "../lib/php/template.inc";
...
$t = new Template("../templ", "remove");
...
$t->set_file("page", "tmp_popup_eintragen.html");
...
$t->set_var(array("WARNUNG" => $servertext, "GB_TEXT" => "",
"GB_NAME" => ""));
...
$t->parse("INSERT", "page");
$t->p("INSERT");
I hope somebody can help me, because my pages look not good without css ond correct html tags :)
greets Dexter