note 76829 added to function.chunk-split
| From: | reda1981 at yahoo dot com | Date: | Wed, 01 Aug 2007 13:27:16 +0000 |
| Subject: | note 76829 added to function.chunk-split | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-129100@lists.php.net to get a copy of this message | ||
Hello everybody. i'm really despered, have been trying to resolve a problem i got, but no
way...
I'm using:
$attach_content = file_get_contents($attached_file);
$attach_content = chunk_split(base64_encode($attach_content));
$attached_file is the path to the file (/repertory/file.pdf)
to send an attached file(s), but there is some problems with only .doc files, sometimes they get
opened and sometimes it says that i have to check the file extension or repair it before open it, i
think it's corrupt file :(
Could you please help me with that?
thank you!
----
Server IP: 194.246.101.61
Probable Submitter: 80.118.183.228
----
Manual Page -- http://www.php.net/manual/en/function.chunk-split.php
Edit -- https://master.php.net/note/edit/76829
Del: integrated -- https://master.php.net/note/delete/76829/integrated
Del: useless -- https://master.php.net/note/delete/76829/useless
Del: bad code -- https://master.php.net/note/delete/76829/bad+code
Del: spam -- https://master.php.net/note/delete/76829/spam
Del: non-english -- https://master.php.net/note/delete/76829/non-english
Del: in docs -- https://master.php.net/note/delete/76829/in+docs
Del: other reasons-- https://master.php.net/note/delete/76829
Reject -- https://master.php.net/note/reject/76829
Search -- https://master.php.net/manage/user-notes.php