php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #28961 include() function
Submitted: 2004-06-29 21:53 UTC Modified: 2004-06-30 09:05 UTC
Votes:1
Avg. Score:1.0 ± 0.0
Reproduced:0 of 1 (0.0%)
From: hendrix at list dot ru Assigned:
Status: Not a bug Package: *General Issues
PHP Version: 4.3.6 OS: windows xp pro
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: hendrix at list dot ru
New email:
PHP Version: OS:

 

 [2004-06-29 21:53 UTC] hendrix at list dot ru
Description:
------------
Hello. Okay, what I am trying to do is very simple - include one .php script into another .php script.
The only change that I had made in my php.ini file was cgi_force_redirect (set it to 0).
I am using Apache with MySQL, ActivePerl, and PHP cofigured with it.

Reproduce code:
---------------
<? include "menu.php"; ?>


Expected result:
----------------
I expected my side menu (with links and navigation) to appear.

Actual result:
--------------
Warning: main(menu.php): failed to open stream: No such file or directory in w:\docs\mg\news.php on line 9

Warning: main(): Failed opening 'menu.php' for inclusion (include_path='.;c:\php4\pear') in w:\docs\mg\news.php on line 9


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2004-06-30 09:05 UTC] derick@php.net
Sorry, but your problem does not imply a bug in PHP itself.  For a
list of more appropriate places to ask for help using PHP, please
visit http://www.php.net/support.php as this bug system is not the
appropriate forum for asking support questions. 

Thank you for your interest in PHP.

.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Mon May 27 13:01:31 2024 UTC