I would like to include a file located in front/header/header.php
from a front/user/login.php
file.
(我想从front/user/login.php
文件中包含位于front/header/header.php
文件。)
How i can include header.php in login.php ?
(我如何在header.php中包含header.php?)
since it needs to step back from user
folder and then enter to header
folder. (因为它需要从user
文件夹后退,然后进入header
文件夹。)
i tried :
(我试过了 :)
<?php include('/header/header.php'); ?>
<?php include('../header/header.php');?>
<?php include('../../header/header.php');?>
<?php include('header/./header.php');?>
<?php include('header/../header.php');?>
<?php include('front/header/./header.php');?>
<?php include('front/header/../header.php');?>
ask by hameed Hamish translate from so 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…