#23821 [NEW]: Not requireing or including files

From: Date: Mon, 26 May 2003 23:53:53 +0000
Subject: #23821 [NEW]: Not requireing or including files
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-40469@lists.php.net to get a copy of this message
From: admin at donelson dot net Operating system: Unix, Apache PHP version: 4.3.1 PHP Bug Type: HTTP related Bug description: Not requireing or including files I saw in the docs that windows does not include http/ftp for some reason. Looking at the dates of the other simular messages I would think it would have been fixed by now. Any way I wrote the code and uploaded it to my host which is a unix box with apache. When run it from my site it does not include / require the intended file. Now, I use the Zend Studio and Integrated debugger, If I debug the page, localhost or remote windows or unix, IT WORKS! Why is this? Do I have to have everyone that will visit my page download and install the Zend Debugger and debug my site to see it? I have been stuck on this for months and monitoring for a fix or answer and nothing. HELP! btw heres some code and a URL so you can check it out. http://www.donelson.net/InetX/test.php Go here and you get this message: Fatal error: Cannot instantiate non-existent class: iunknown in /home/andydonelson/www/InetX/test.php on line 5 Why? A file that does exist on the server is not being loaded. Here is the require() call rom test.php line 5: require_once("http://www.donelson.net/InetX/Interface/IUnknown.php"); Purpose? no matter where you run this script, it will get this file from this location. Remember, This code works on a windows XP Home machine when debugging the page with Zend Debugger, But it wont work if I just open a brower and visit the page. On windows or unix. The debugger makes it work for windows (local) and unix (remote) -- Edit bug report at http://bugs.php.net/?id=23821&edit=1 -- Try a CVS snapshot: http://bugs.php.net/fix.php?id=23821&r=trysnapshot Fixed in CVS: http://bugs.php.net/fix.php?id=23821&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=23821&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=23821&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=23821&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=23821&r=support Expected behavior: http://bugs.php.net/fix.php?id=23821&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=23821&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=23821&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=23821&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=23821&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=23821&r=dst IIS Stability: http://bugs.php.net/fix.php?id=23821&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=23821&r=gnused

« previous php.bugs (#40469) next »