Neron adlı üyeden alıntı: mesajı görüntüle
index.php nin en üstüne yerlestir

<?php
// örneğin scriptin oldugu klasordeki index.php de bulunması gereken kod
$base_path = str_replace($_SERVER['DOCUMENT_ROOT'], null, dirname(__FILE__));
?>

bu kodu sonra head içerisine istediğin gibi <link href="<?php echo $base_path; ?>/bootstrap/css/bootstrap.min.css" rel="stylesheet"> kodlar ekle
localhost ta "\" ters attı hata verdi. sunucu da hiç bir işlem yapmadı. fonksiyon çalışmadı yani.