note 79501 added to function.md5

From: Date: Fri, 30 Nov 2007 11:51:59 +0000
Subject: note 79501 added to function.md5
Groups: php.notes 
Request: Send a blank email to php-notes+get-132681@lists.php.net to get a copy of this message
re: Santa Cruz skelly It is not actually md5sum that adds the extra newline. Most (if not all) text editors will add a trailing newline to the file. You can test this by creating a file (e.g. test.txt) with the word test in it. Then view a hex dump of the file: # hexdump -C test.txt 00000000 74 65 73 74 0a |test.| 00000005 that 0a on the end is the newline (\n). Hope this helps. Alex ---- Server IP: 194.145.210.4 Probable Submitter: 88.96.198.3 ---- Manual Page -- http://www.php.net/manual/en/function.md5.php Edit -- https://master.php.net/note/edit/79501 Del: integrated -- https://master.php.net/note/delete/79501/integrated Del: useless -- https://master.php.net/note/delete/79501/useless Del: bad code -- https://master.php.net/note/delete/79501/bad+code Del: spam -- https://master.php.net/note/delete/79501/spam Del: non-english -- https://master.php.net/note/delete/79501/non-english Del: in docs -- https://master.php.net/note/delete/79501/in+docs Del: other reasons-- https://master.php.net/note/delete/79501 Reject -- https://master.php.net/note/reject/79501 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#132681) next »