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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
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

Pull Requests

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-2025 The PHP Group
All rights reserved.
Last updated: Sun Jan 05 06:01:27 2025 UTC