I am trying to exclude a css file from the home page of my site. We load the stylesheet with the header.php, so I am trying to not load it in the homepage.
this is my following code.
$hm == 'http://' . $_SERVER['HTTP_HOST'] . $_SERVER['REQUEST_URI'];
if ($hm == "home.php") {
echo "";
} else {
echo "yesstylesheet.css";
}