OK, here's the changes I've made to the script (
in red). According to what you've told me, this should work. But unfortunately it's not.
I'm getting this error on my page:
Parse error: parse error in /homepages/12/d123456789/htdocs/nuke/blocks/block-norton.php on line 12
Now does this acutally mean line 12 of the php file? If so I've denoted which line line 12 is by highlighting it in
green. Unless it means the 12th line of code which would be colored in
teal.
Quote:
<?php
/**********************/
/* Your credits go here */
/**********************/
if(!eregi("block-norton.php", $_SERVER['PHP_SELF'])){
header("Location: index.php");
}
$content .="<html>";
$content .="<head>";
$content .="<meta http-equiv=\"Content-Type\" content=\"text/html; charset=windows-1252\">";
$content .="<title></title>";
$content .="</head>";
$content .="<body>";
$content .="<script src=\"http://securityresponse.symantec.com/avcenter/js/vir.js\"></script>";
$content .="<script src=\"http://securityresponse.symantec.com/avcenter/js/tools.js\"></script>";
$content .="<script src=\"http://securityresponse.symantec.com/avcenter/js/advis.js\"></script>";
$content .="<script src=\"http://securityresponse.symantec.com/avcenter/js/vir_display.js\"></script>";
$content .="<script>";
$content .="symDisplay();";
$content .="</script>";
$content .="</body>";
$content .="</html>";
if(!eregi("block-norton.php", $_SERVER['PHP_SELF'])){
header("Location: index.php");
}
|