Maybe someone has an idea.
I am trying to build an addon, so far it is working, but the only problem:
include("get_resolution.php") in the script below is written into the top of my markup and I am not able to put it into the <head>-part with a TAG. I am not very good in PHP, any idea?
PHP Code:
if(preg_match("<BROWSER_SCRIPT>", $tpl)) {
$callget_res_page_name = $REQUEST_URI;
$GLOBALS[callget_res_page_name] = $callget_res_page_name;
$browser_script_out = include("get_resolution.php");
$tpl = ereg_replace("<BROWSER_SCRIPT>",$browser_script_out,$tpl);
}