This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* IMAP_access. Utility class for processing a mailbox for applications that | |
* want to grab the body text and do something with it e.g. create a new | |
* todo list item. Enough clues in there that it can be expanded to do | |
* a lot more if required - e.g. also grab file attachments. | |
* | |
* Based on several part-working tutorials (fixed), the PHP manual examples | |
* and testing on real email samples from Gmail, Thunderbird and MS outlook 2010. | |
* (flatten_parts is the tricky bit and was from here: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<\?[^=|xml|php] | |
<?php |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
RewriteEngine on | |
RewriteCond %{REQUEST_FILENAME} !-f | |
RewriteRule ^([a-z]+)/([^/]*)$ resize.php?size=$1&file=$2 |