ID: 11460
Updated by: sniper
Reported By: [EMAIL PROTECTED]
Old-Status: Open
Status: Bogus
Bug Type: Unknown/Other Function
Operating system: 
PHP Version: 4.0.5
Assigned To: 
Comments:

Yeah, isn't Windows buggy shit or not? 
Send a bug report to them.



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

[2001-06-13 05:05:04] [EMAIL PROTECTED]
the thing is, my PHP running in CGI PHP and module PHP (PHP running as a module of 
Apache 1.3.20) have different results. PHP is not portable!

use fread() and .= operation, I read the entire file into a string, and use 
count(split(string, "n")); to find out how many lines there. This basically works well 
if this PHP file is invoked by PHP module.

However, this doesn't work if PHP is running in CGI mode.
I have to change to "rn" then the script gives the same result.

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



ATTENTION! Do NOT reply to this email!
To reply, use the web interface found at http://bugs.php.net/?id=11460&edit=2


-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to