Re: Dump client, nice concept...but how to do it via php?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Ryan A wrote:
Hey,
Thanks for replying.


some other way of uploading a pic from the users mobile to the

profile...

email, but be aware of the security. Users should input some token in
the subject.


How with email? other than sending email  using mail() i have never worked
with any email functions in php.
Do you have any code, classes or functions I can start reading up on?

User sends email from his mobile with the picture attached. Then you can either:


1. Pipe all incoming emails to a script (php or whatever), parse it and write the image to a file and update database. There are classes that can parse emails, just search.

2. Use php's imap functions to regularly (or at the user's request) check the email account for new emails. Read the attachement, etc.

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux