ID: 24114 User updated by: stefano dot cecconi at staff dot aruba dot it Reported By: stefano dot cecconi at staff dot aruba dot it -Status: Feedback +Status: Open Bug Type: PHP options/info functions Operating System: windows 2000 PHP Version: 4.3.2 New Comment:
Php 4.2.3 works in a different way. Even with the / it works. A lot of free php scripts are written with this notation. Now they don't work anymore. Try to think to 200.000 domain in hosting (we are the web hosting company) where all people working with php and includes have to change their scripts. It's not so easy, right? Previous Comments: ------------------------------------------------------------------------ [2003-06-10 09:44:09] [EMAIL PROTECTED] Your version should never have worked... it's not a bug at all that you need to strip that / (it will make PHP to open c:/call_php/counter.php)... ------------------------------------------------------------------------ [2003-06-10 09:09:41] stefano dot cecconi at staff dot aruba dot it This is my include_path option value : include_path = ".;c:\php\includes" Before 4.3.2 everything worked using this path in a script : include "/call_php/counter.php" With 4.3.2 is mandatory to remove the first / so it works only with this path : include "call_php/counter.php" or include "./call_php/counter.php" I can't understand this change and it's creating a lot of problems for our web hosting service, simply because there are thousands of scripts based on the old way to use relative paths. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=24114&edit=1
