Is it possible to get an image sent by an email in base64 encoding without making two pages (one to display the message, the other one to display the image)?
I read the email from pop3 server using fsock commands, so when I get the email body, I get all necessary data for the image as well, so in theory I wouldn't need another script to call in <img src=display.php>.
When I call display.php I once again have to get the message body, so I'm basically doing the same thing twice, which slows down the execution time.
I thought of doing it with iframe, but i can't fill it with iamge data using the script in which i show the same iframe (needs url).
Any ideas?
(It's already working with two scripts, but I'm wondering if it would speed up a bit doing it in only one go)
Thanx