Re: [PHP4BETA] Win32Beta2. include_path not working
| From: | Zeev Suraski | Date: | Mon, 16 Aug 1999 16:25:12 +0000 |
| Subject: | Re: [PHP4BETA] Win32Beta2. include_path not working | ||
| References: | 1 2 | Groups: | php.version4 |
| Request: | Send a blank email to php-version4+get-3454@lists.php.net to get a copy of this message | ||
It would take a while before URL includes and include_path works under Win32. The binaries available for Win32 use a C++ scanner, which requires input in the form of an istream object. The URL and include_path wrappers both return FILE * pointers, that cannot be converted to istream objects.
We need to write an istream-derived object that implement its functionality above FILE * pointers. If somebody volunteers for the job or knows of ready-made code that does it - step forward :)
Zeev
At 16:38 16/08/99 , Alexander Sanda wrote:
On 16.08.1999, 12:59, Antonio Garcia Mari wrote: php seems to ignore the include_path directive in the php.ini file. I always get the same warning: Warning: Failed opening 'useragent.inc' for inclusion (include_path='/php4/include') in c:/inetpub/wwwroot/internet-web.php on line 4 Yes, can confirm that. I tried every form of path specifications (backslashes, slashes etc.) but none worked. If i copy useragent.inc to c:/inetpub/wwwroot/ (the script dir) it works. Including it directly (include "d:/bla/bla/file.php3") also works. ---- Zeev Suraski <zeev@zend.com> http://www.zend.com/ For a PGP public key, finger bourbon@netvision.net.il# My PGP public key (ID=7A2AFB8F): http://darkstar.psa.at/aspgp.txt # # Hi, I'am a .signature virus. Come on and steal me. #-- PHP 4 Beta