RE: [PHP] Update database via email

2002-03-11 Thread Adam Plocher

If you want an html form in an email, that's possible, but the form will
probably need to submit to a php script (via http, not email).  You would
just need to set the content-type of the email to text/html.

You wouldn't be able to have an active php script embedded in an email
(other than having it called via http).

-Original Message-
From: Jackson Miller [mailto:[EMAIL PROTECTED]] 
Sent: Monday, March 11, 2002 8:52 AM
To: [EMAIL PROTECTED]
Subject: [PHP] Update database via email


I am working on a site that I
would like to be able to
update content (basically news
stories) on via email.  I am
sitting with the problem
trying to figure out the best
way to do this before I start
coding.

I am curious if anyone else
has done this and has a list
of lessons learned that they
would be willing to share.
Also is there any code
available that does this kind
of thing.

Thanks in advance,

-Jaxn


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



Re: [PHP] Update database via email

2002-03-11 Thread Samuel Ottenhoff

If I were you, I would start looking into procmail.

http://www.procmail.org

You would set up an alias on your server... Something like
[EMAIL PROTECTED]  Procmail would filter the email for the important
stuff and pass that on to a PHP script.  The php script would then update
your database.

Try a google search on procmail php.

Sam


On 3/11/02 11:52 AM, Jackson Miller [EMAIL PROTECTED] wrote:

 I am working on a site that I
 would like to be able to
 update content (basically news
 stories) on via email.  I am
 sitting with the problem
 trying to figure out the best
 way to do this before I start
 coding.
 
 I am curious if anyone else
 has done this and has a list
 of lessons learned that they
 would be willing to share.
 Also is there any code
 available that does this kind
 of thing.
 
 Thanks in advance,
 
 -Jaxn
 


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




Re: [PHP] Update database via email

2002-03-11 Thread Enrico Weigelt

On Mon, Mar 11, 2002 at 11:52:20AM -0500, Jackson Miller wrote:

 I am working on a site that I
 would like to be able to
 update content (basically news
 stories) on via email.  I am
 sitting with the problem
 trying to figure out the best
 way to do this before I start
 coding.

i'm doing symetric database replication per email.
i've written some mail robots, which are called from /etc/aliases ...

~-n
--
 Enrico Weigelt==   meTUX IT services 
 software development, IT service, internet security solutions
 www: http://www.metux.de/phone: +49 36207 519931
 email:   [EMAIL PROTECTED]cellphone: +49 174 7066481

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