note 112379 deleted from security.filesystem.nullbytes by googleguy
| From: | googleguy@php.net | Date: | Sun, 09 Jun 2013 14:07:49 +0000 |
| Subject: | note 112379 deleted from security.filesystem.nullbytes by googleguy | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-195114@lists.php.net to get a copy of this message | ||
Note Submitter: gb dot michel at esecurite dot fr
----
Easy way to remove NULL byte into string is to use this code snippet :
<?php
$clean_val = str_replace( chr(0), '', $raw_val);
?>