List Info

Thread: note 78023 added to function.quoted-printable-decode




note 78023 added to function.quoted-printable-decode
user name
2007-09-24 14:13:03
my approach for quoted printable encode using the stream
converting abilities

<?php
/**
 * param string $str
 * return string
 * */
function quoted_printable_encode($str) {
	$fp = fopen('php://temp', 'w+');
	stream_filter_append($fp,
'convert.quoted-printable-encode');
	fwrite($fp, $str);	
	fseek($fp, 0);
	$result = '';
	while(!feof($fp))
		$result .= fread($fp, 1024);
	fclose($fp);
	return $result;
}
?>
----
Server IP: 217.160.72.57
Probable Submitter: 85.179.232.76
----
Manual Page -- http://www.php.net/manual/en/function.quoted-pr
intable-decode.php
Edit        -- https://master
.php.net/note/edit/78023
Del: integrated  -- h
ttps://master.php.net/note/delete/78023/integrated
Del: useless     -- http
s://master.php.net/note/delete/78023/useless
Del: bad code    -- htt
ps://master.php.net/note/delete/78023/bad+code
Del: spam        -- https:/
/master.php.net/note/delete/78023/spam
Del: non-english -- 
https://master.php.net/note/delete/78023/non-english
Del: in docs     -- http
s://master.php.net/note/delete/78023/in+docs
Del: other reasons-- https://mast
er.php.net/note/delete/78023
Reject      -- https://mast
er.php.net/note/reject/78023
Search      -- https://
master.php.net/manage/user-notes.php

-- 
PHP Notes Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub
.php


[1]

about | contact  Other archives ( Real Estate discussion Medical topics )