Hi, I want to modify the header of a script, when i am downloading a file, in header( to be seo friendly, in description and key words to display the name of th file . but i cannot figure what is wrong
pls corect me where i am wrong
Ps. is john cms 4.0
pls corect me where i am wrong
PHP Code:
$file = intval(trim($_GET['file']));
$file1 = mysql_query("select * from `download` where type = 'file' and id = '" . $file . "';");
echo "\n" . '<meta name="description" content="free download 2011 ' . $file1['name'] . '" />';
Comment