note 82237 added to function.convert-uuencode

From: Date: Wed, 02 Apr 2008 08:06:56 +0000
Subject: note 82237 added to function.convert-uuencode
Groups: php.notes 
Request: Send a blank email to php-notes+get-137847@lists.php.net to get a copy of this message
if you want to use convert_uuencode with command uudecode you must insert a line "begin %s %s\n" at the beginning and "end\n" at the end: <?php echo "begin 644 hello.txt\n"; echo convert_uuencode("hello"); echo "end\n"; ?> the first arg. after begin is the mode (destination file rights), the second is the destination file name. Then you can do a wget followed by a uudecode. JA. ---- Server IP: 195.221.21.36 Probable Submitter: 147.210.19.35 ---- Manual Page -- http://www.php.net/manual/en/function.convert-uuencode.php Edit -- https://master.php.net/note/edit/82237 Del: integrated -- https://master.php.net/note/delete/82237/integrated Del: useless -- https://master.php.net/note/delete/82237/useless Del: bad code -- https://master.php.net/note/delete/82237/bad+code Del: spam -- https://master.php.net/note/delete/82237/spam Del: non-english -- https://master.php.net/note/delete/82237/non-english Del: in docs -- https://master.php.net/note/delete/82237/in+docs Del: other reasons-- https://master.php.net/note/delete/82237 Reject -- https://master.php.net/note/reject/82237 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#137847) next »