Re: filesize ????
| From: | Rasmus Lerdorf | Date: | Tue, 15 Mar 2005 10:10:15 +0000 |
| Subject: | Re: filesize ???? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-210751@lists.php.net to get a copy of this message | ||
aldo.mailinglistphp@tiscali.it wrote:
I need to calculate the size of an html email with embedded images. Filesize doesn't work to this purpose. How could I do without parsing the html file?If the images are embedded, by which I suppose you mean attached, then filesize() should be fine. If you mean they are just <img> tags referring to external images, then they aren't part of the message and filesize() is still the correct size since most email client block these images anyway. -Rasmus