ID: 14847 Updated by: [EMAIL PROTECTED] -Reported By: [EMAIL PROTECTED] +Reported By: [EMAIL PROTECTED] Status: Open Bug Type: Scripting Engine problem Operating System: W2k PHP Version: 4.1.1 New Comment:
Same OS and version as previous comments. What I have found is that the include () fails (and causes an error) if used inside a function within a class. Previous Comments: ------------------------------------------------------------------------ [2002-01-25 03:47:06] [EMAIL PROTECTED] I have a similar problem using W98 SE + PWS and PHP 4.1.1. I'll try give an explanation of what goes wrong In the base directory I have a directory called "admin". When I include a file menu.php from a file within the "admin" dir. I get a file menu.php but it comes from the base dir. When I remove this file from the base dir then the right file from the "admin" dir is included. I've installed PHP 4.1.0 and things seem to work properly again. ------------------------------------------------------------------------ [2002-01-04 07:26:10] [EMAIL PROTECTED] - just upgraded from 4.1.0 to 4.1.1 (win32 binaries) - afterwards, no php-script-includes worked anymore (e.g. include ("includes/bugreport.php");) ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=14847&edit=1