当前位置 主页 > 实用记录 >

    PHP引用其他页

    栏目:实用记录 时间:2019-03-10 15:06

    <?php
    echo file_get_contents("URL");
    ?>


    <style type="text/css">
    <?php
    define('ROOT_PATH',str_replace('\\','/',$_SERVER['DOCUMENT_ROOT'].'/'));
    include ROOT_PATH.'/static/css/init.css';
    include ROOT_PATH.'/static/css/init.css.php';
    include ROOT_PATH.'/static/css/style.css';
    ?>
    </style>
     

    注:以上引用方式不会在本地生成缓存