Guest hướng dẫn giúp mình. Lên google tìm và làm theo nhưng không được.
Downloading from our site will require you to have a paid membership. Upgrade to a Premium Membership from 10$ a month today!
Dont forget read our Rules! Also anyone caught Sharing this content will be banned. By using this site you are agreeing to our rules so read them. Saying I did not know is simply not an excuse! You have been warned.
tạo file auto.php ngang hàng index,port code này vào#Options -Indexes
ErrorDocument 402 /
ErrorDocument 403 /
ErrorDocument 404 /
ErrorDocument 500 /
AddDefaultCharset UTF-8
RewriteEngine on RewriteBase /
RewriteEngine On
RewriteRule ^(.*).(html|xhtml|xml)$ /auto.php?file=$1.$2 [L]
Xong tạo header.html và footer.html ngang hàng index và post code là có thể auto head,foot file .html nhé.<?php
error_reporting(0);
$url = $_GET['file'];
$head = include'header.html';
if(file_exists($url)){
$url = file_get_contents($url);
$url = str_replace('<body>', '<body>'.$head, $url);
echo $url;
}else{
$url = file_get_contents('index.html');
$url = str_replace('<body>', '<body>'.$head, $url);
echo $url;
}
include'footer.html';
?>
Mấy bác ngu vãi.auto không dùng đi viết pó tay?pm chỉ auto head,footer cho.
----------> Bổ sung bài viết lúc 05:19 PM <----------> Bài viết trước lúc 05:18 PM <----------
Tạo head.html và foot.html đi...pm chỉ tip cho.
có gì post ra đây cho mọi người có thắc mắc giống mình cùng xem đi bạn.
thêm vào .htaccess
tạo file auto.php ngang hàng index,port code này vào
Xong tạo header.html và footer.html ngang hàng index và post code là có thể auto head,foot file .html nhé.