Been reading lots of tutorials on this. I've managed to generate a favicon.ico & upload into my root folder.
The problem is all of them then give a next step of adding a html line into your index.
My index is however in php, so not sure how to accomplish this?
I came across a php tut, tried it but also failed:
PHP Code:
<?php
require_once('favicon.inc.php');
$favicon = new favicon('http://www.controlstyle.ru/', 0);
$fv = $favicon->get_output_data();
if ($fv!=='')
{
header('Content-type: image/png');
echo $fv;
}
?>
Please help, thank you.