Bug #12387 Updated: require_once doesn't support relative paths

From: Date: Sat, 28 Jul 2001 02:17:11 +0000
Subject: Bug #12387 Updated: require_once doesn't support relative paths
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-61296@lists.php.net to get a copy of this message
ID: 12387 Updated by: sniper Reported By: willwong@samurai.com Old Status: Open Status: Bogus Bug Type: Feature/Change Request Operating System: FreeBSD PHP Version: 4.0.6 New Comment: This works for me just fine. You might have got some permission problem. --Jani Previous Comments: ------------------------------------------------------------------------ [2001-07-26 01:08:41] willwong@samurai.com require_once doesn't support relative paths. ie. require_once('../blah.php'); won't work. Only absolute paths work and this makes the function very unuseful at times. Suggestion: Make require_once support relative paths. ------------------------------------------------------------------------ Edit this bug report at http://bugs.php.net/?id=12387&edit=1

« previous php.dev (#61296) next »