note 76829 rejected from function.chunk-split by nlopess
| From: | nlopess@php.net | Date: | Wed, 08 Aug 2007 15:30:31 +0000 |
| Subject: | note 76829 rejected from function.chunk-split by nlopess | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-129324@lists.php.net to get a copy of this message | ||
Note Submitter: reda1981 at yahoo dot com
----
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!