tags:

views:

27

answers:

2

Hi,

How do I save images sent as attachment in email, using PHP. Something like Posterous but only for image attachments.

Thanks in advance :-)

A: 

Look at "base64_decode()"

<?php
    $str = 'VGhpcyBpcyBhbiBlbmNvZGVkIHN0cmluZw==';
    echo base64_decode($str);
?>
John Conde
A: 

Hey John,

Thanks for the tip, let me try it.

Ciao

Jamal