From:             hendrix at list dot ru
Operating system: windows xp pro
PHP version:      4.3.6
PHP Bug Type:     *General Issues
Bug description:  include() function

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


-- 
Edit bug report at http://bugs.php.net/?id=28961&edit=1
-- 
Try a CVS snapshot (php4):  http://bugs.php.net/fix.php?id=28961&r=trysnapshot4
Try a CVS snapshot (php5):  http://bugs.php.net/fix.php?id=28961&r=trysnapshot5
Fixed in CVS:               http://bugs.php.net/fix.php?id=28961&r=fixedcvs
Fixed in release:           http://bugs.php.net/fix.php?id=28961&r=alreadyfixed
Need backtrace:             http://bugs.php.net/fix.php?id=28961&r=needtrace
Need Reproduce Script:      http://bugs.php.net/fix.php?id=28961&r=needscript
Try newer version:          http://bugs.php.net/fix.php?id=28961&r=oldversion
Not developer issue:        http://bugs.php.net/fix.php?id=28961&r=support
Expected behavior:          http://bugs.php.net/fix.php?id=28961&r=notwrong
Not enough info:            http://bugs.php.net/fix.php?id=28961&r=notenoughinfo
Submitted twice:            http://bugs.php.net/fix.php?id=28961&r=submittedtwice
register_globals:           http://bugs.php.net/fix.php?id=28961&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=28961&r=php3
Daylight Savings:           http://bugs.php.net/fix.php?id=28961&r=dst
IIS Stability:              http://bugs.php.net/fix.php?id=28961&r=isapi
Install GNU Sed:            http://bugs.php.net/fix.php?id=28961&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=28961&r=float

Reply via email to