PHP 4.0 Bug #6603 Updated: ISAPI Several bugs
| From: | jakub at gema dot cz | Date: | Sun, 12 Nov 2000 15:55:47 +0000 |
| Subject: | PHP 4.0 Bug #6603 Updated: ISAPI Several bugs | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-37820@lists.php.net to get a copy of this message | ||
ID: 6603
User Update by: jakub@gema.cz
Status: Feedback
Bug Type: IIS related
Description: ISAPI Several bugs
I've tested 4.0.3 as well and the problems remain here. About the ISAPI. I've heard that
problems happens even on IIS Web server as well. Just a plain .php file will reproduce the problem.
About the ftell() function, snippet of code:
..
$line = fgets($file, 1024);
echo ftell($file);
..
First time the number echoed is correct, second time not (it's shifted), third time correct,
then again not. By the time I mean another page load. Anything more I could help you with?
Previous Comments:
---------------------------------------------------------------------------
[2000-11-11 15:25:30] dbeu@php.net
please provide short reproducing code for (still existant?) bugs.
---------------------------------------------------------------------------
[2000-09-07 10:48:10] jakub@gema.cz
I've come accross the following ISAPI bugs. When you try to free the PHP4ISAPI.dll the function
zend_hash_copy generates an access violation. The same zend_hash_copy function generates an access
vialotation when the function httpextensionproc is executed for the second and more times. The
reason I have found this problem is that I'm implementing my own ISAPI server.
One more thing I've found is that the ftell() function sometimes returns a bad position of the
file. Sometimes not sometimes yes and the difference is only 1 byte. When I use the same function
under the CGI interface (not ISAPI) it works just fine. Hope this will help you.
Thank you
Jakub
---------------------------------------------------------------------------
Full Bug description available at: http://bugs.php.net/?id=6603