Re: [Phplib-users] Header and footer puting
Brought to you by:
nhruby,
richardarcher
From: Richard A. <rh...@ju...> - 2003-08-23 07:44:46
|
At 9:46 +0200 22/8/03, Horst Kriegers wrote: >$tpl->set_var("HTMLHEAD", stristr(include("htmlhead.html"), 1)); That code looks very strange to me. Does include() work that way? I would do something like: $tpl->set_var("HTMLHEAD", implode("", file("htmlhead.html"))); ...R. |