note 88223 added to function.include
| From: | Pouyan at osu1 dot php dot net | Date: | Fri, 16 Jan 2009 07:57:09 +0000 |
| Subject: | note 88223 added to function.include | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-149303@lists.php.net to get a copy of this message | ||
Hello
I get this Error When I include one of My Files from Other Directory.
Could you please take A look at it.
My main file is in /public_html/vps/linux
and i want to include this file
/public_html/footer.php
I use this code and get this error is there anything wrong with php config thanks.
I use
<?php
include include("../../header.php");
?>
Warning: include(../footer.php): failed to open stream: No such file or directory in
/home/gitihost/public_html/vps/linux/index.php on line 483 Warning: include(../footer.php): failed
to open stream: No such file or directory in /home/user/public_html/vps/linux/index.php on line 483
Warning: include(): Failed opening '../footer.php' for inclusion
(include_path='.:/usr/lib/php:/usr/local/lib/php') in
/home/user/public_html/vps/linux/index.php on line 483
----
Server IP: 64.71.164.2
Probable Submitter: 83.147.250.120
----
Manual Page -- http://www.php.net/manual/en/function.include.php
Edit -- https://master.php.net/note/edit/88223
Del: integrated -- https://master.php.net/note/delete/88223/integrated
Del: useless -- https://master.php.net/note/delete/88223/useless
Del: bad code -- https://master.php.net/note/delete/88223/bad+code
Del: spam -- https://master.php.net/note/delete/88223/spam
Del: non-english -- https://master.php.net/note/delete/88223/non-english
Del: in docs -- https://master.php.net/note/delete/88223/in+docs
Del: other reasons-- https://master.php.net/note/delete/88223
Reject -- https://master.php.net/note/reject/88223
Search -- https://master.php.net/manage/user-notes.php