note 87936 added to function.chr
| From: | jacobatloggypuntnl at osu1 dot php dot net | Date: | Wed, 31 Dec 2008 13:46:02 +0000 |
| Subject: | note 87936 added to function.chr | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-148716@lists.php.net to get a copy of this message | ||
<?
function makeASCII($a){
$find[] = "=\r\n";
$replace[] = "";
for($i=0; $i < 256; $i++){
$find[] = "=".dechex($i)."";
$replace[] = chr($i);
}
$a = str_replace($find,$replace,$a);
return $a;
}
?>
This function creates a ascii table, and replaces all the ascii characters in the mail.
---
Deze functie maakt een ascii tabel, en zet alles juist om.
----
Server IP: 89.248.170.61
Probable Submitter: 195.240.149.53
----
Manual Page -- http://www.php.net/manual/en/function.chr.php
Edit -- https://master.php.net/note/edit/87936
Del: integrated -- https://master.php.net/note/delete/87936/integrated
Del: useless -- https://master.php.net/note/delete/87936/useless
Del: bad code -- https://master.php.net/note/delete/87936/bad+code
Del: spam -- https://master.php.net/note/delete/87936/spam
Del: non-english -- https://master.php.net/note/delete/87936/non-english
Del: in docs -- https://master.php.net/note/delete/87936/in+docs
Del: other reasons-- https://master.php.net/note/delete/87936
Reject -- https://master.php.net/note/reject/87936
Search -- https://master.php.net/manage/user-notes.php