[PHP-DEV] PHP 4.0 Bug #6603 Updated: ISAPI Several bugs From: sniper <email protected>
Date: 12/15/00

ID: 6603
Updated by: sniper
Reported By: jakub <email protected>
Status: Feedback
Bug Type: IIS related
Assigned To:
Comments:

Please try the latest build from http://www.php4win.de/

--Jani

Previous Comments:
---------------------------------------------------------------------------

[2000-11-12 10:55:47] jakub <email protected>
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?

---------------------------------------------------------------------------

[2000-11-11 15:25:30] dbeu <email protected>
please provide short reproducing code for (still existant?) bugs.

---------------------------------------------------------------------------

[2000-09-07 10:48:10] jakub <email protected>
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

-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: php-dev-unsubscribe <email protected>
For additional commands, e-mail: php-dev-help <email protected>
To contact the list administrators, e-mail: php-list-admin <email protected>