Re: PHP 4.0 Bug #6055: require&include("http://...) crash whereas include("file.inc") works
| From: | Stig Venaas | Date: | Fri, 11 Aug 2000 20:13:49 +0000 |
| Subject: | Re: PHP 4.0 Bug #6055: require&include("http://...) crash whereas include("file.inc") works | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-28657@lists.php.net to get a copy of this message | ||
I may have the bug, at least I've made it work by doing
--- /src/cvs/Zend/zend-scanner.l Fri Aug 11 19:29:42 2000
+++ Zend/zend-scanner.l Fri Aug 11 22:03:24 2000
@@ -249,7 +249,7 @@
switch (file_handle->type) {
case ZEND_HANDLE_FILENAME:
file_handle->handle.fp = zend_fopen(file_handle->filename,
&file_handle->opened_path);
- file_path = file_handle->opened_path;
+ file_path = file_handle->filename;
break;
case ZEND_HANDLE_FD:
file_path = file_handle->filename;
Could someone that understand the code well check it and put it in CVS
if okay?
Stig