#14847 [Opn->Bgs]: relative links for including other scripts do not work anymore

From: Date: Thu, 22 Aug 2002 16:08:40 +0000
Subject: #14847 [Opn->Bgs]: relative links for including other scripts do not work anymore
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-17565@lists.php.net to get a copy of this message
ID: 14847 Updated by: iliaa@php.net Reported By: mkindermann@nxn-software.com -Status: Open +Status: Bogus Bug Type: Scripting Engine problem Operating System: W2k PHP Version: 4.1.1 New Comment: Thank you for taking the time to report a problem with PHP. Unfortunately you are not using a current version of PHP -- the problem might already be fixed. Please download a new PHP version from http://www.php.net/downloads.php If you are able to reproduce the bug with one of the latest versions of PHP, please change the PHP version on this bug report to the version you tested and change the status back to "Open". Again, thank you for your continued support of PHP. Previous Comments: ------------------------------------------------------------------------ [2002-02-12 14:24:54] patrick@clovis.org.uk 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. ------------------------------------------------------------------------ [2002-01-25 03:47:06] jav@eudoramail.com 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] mkindermann@nxn-software.com - 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

« previous php.bugs (#17565) next »