Re: [PHP] Uploading changes via Email

2002-12-13 Thread Jason Wong
On Friday 13 December 2002 17:17, Roke, Ian wrote:
 Hi there people,

 I am currently working on a database front-end for a company database and I
 would like to know if it would be possible to email access.db to
 [EMAIL PROTECTED] and a script would be run on it to save it over the
 top of the database that is already on the server (and a few little tweaks
 as well) instead of having to manually upload seeing as ftp connections are
 not allowed.

It is possible to send mail to an email address and have it processed by a 
script. It depends on your mailserver, eg with sendmail you can its alias 
mechanism, with qmail you can use dot-qmail files.

But I'm not sure how you would process access.db assuming that it is a file 
created by MS Access.

-- 
Jason Wong - Gremlins Associates - www.gremlins.biz
Open Source Software Systems Integrators
* Web Design  Hosting * Internet  Intranet Applications Development *

/*
Who is W.O. Baker, and why is he saying those terrible things about me?
*/


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




RE: [PHP] Uploading changes via Email

2002-12-13 Thread Roke, Ian
The database is an access db but all I want to do is upload it, but check
first wether it is newer or not. I plan to have the email automatically sent
each day but only upload it if it is newer. All I am trying to do is bypass
the ftp part which I cant do.

Is there a reference on how to pull out the email from qmail? I am new to
this concept.

-Original Message-
From: Jason Wong [mailto:[EMAIL PROTECTED]]
Sent: 13 December 2002 10:14
To: [EMAIL PROTECTED]
Subject: Re: [PHP] Uploading changes via Email


On Friday 13 December 2002 17:17, Roke, Ian wrote:
 Hi there people,

 I am currently working on a database front-end for a company database and
I
 would like to know if it would be possible to email access.db to
 [EMAIL PROTECTED] and a script would be run on it to save it over the
 top of the database that is already on the server (and a few little tweaks
 as well) instead of having to manually upload seeing as ftp connections
are
 not allowed.

It is possible to send mail to an email address and have it processed by a 
script. It depends on your mailserver, eg with sendmail you can its alias 
mechanism, with qmail you can use dot-qmail files.

But I'm not sure how you would process access.db assuming that it is a
file 
created by MS Access.

-- 
Jason Wong - Gremlins Associates - www.gremlins.biz
Open Source Software Systems Integrators
* Web Design  Hosting * Internet  Intranet Applications Development *

/*
Who is W.O. Baker, and why is he saying those terrible things about me?
*/


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

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




Re: [PHP] Uploading changes via Email

2002-12-13 Thread Jason Wong
On Friday 13 December 2002 18:30, Roke, Ian wrote:
 The database is an access db but all I want to do is upload it, but check
 first wether it is newer or not. I plan to have the email automatically
 sent each day but only upload it if it is newer. All I am trying to do is
 bypass the ftp part which I cant do.

 Is there a reference on how to pull out the email from qmail? I am new to
 this concept.

Have a look at this thread first:

  http://marc.theaimsgroup.com/?l=php-generalm=103757608904303w=2

-- 
Jason Wong - Gremlins Associates - www.gremlins.biz
Open Source Software Systems Integrators
* Web Design  Hosting * Internet  Intranet Applications Development *

/*
The only reward of virtue is virtue.
-- Ralph Waldo Emerson
*/


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