ID: 44072 User updated by: sergey89 at gmail dot com Reported By: sergey89 at gmail dot com -Status: Feedback +Status: Open Bug Type: Strings related Operating System: FreeBSD 6.3 PHP Version: 5.2.5 New Comment:
> How do you know that the md5 sum for that part should be exactly that? I ran script on other PHP version and other OSes PHP Script source: http://test.sergey89.net/test.php.txt File containing data: http://test.sergey89.net/data Result: http://test.sergey89.net/test.php We can give you ftp/ssh access to test yourself. Previous Comments: ------------------------------------------------------------------------ [2008-02-18 10:51:32] [EMAIL PROTECTED] How do you know that the md5 sum for that part should be exactly that? And we can't really test this reliably with some random data.. ------------------------------------------------------------------------ [2008-02-15 15:13:33] sergey89 at gmail dot com The version and build are the same. ------------------------------------------------------------------------ [2008-02-15 14:27:22] [EMAIL PROTECTED] If it works in CLI but not in webserver, then there's propably something different between those two, maybe PHP version..?* ------------------------------------------------------------------------ [2008-02-14 09:38:55] sergey89 at gmail dot com I generate data with simple PHP script: <?php file_put_contents('data', ''); for ($i = 0; $i < 1024; $i++){ file_put_contents('data', chr(rand(0, 255)), FILE_APPEND); } However in php-cli substr work correctly. ------------------------------------------------------------------------ [2008-02-13 18:04:01] [EMAIL PROTECTED] What exactly IS in that file? It's impossible to test this without the data.. ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/44072 -- Edit this bug report at http://bugs.php.net/?id=44072&edit=1
