Connecting Tech Pros Worldwide Help | Site Map

automatic attachment uploads

 
LinkBack Thread Tools Search this Thread
  #1  
Old August 23rd, 2005, 12:25 PM
r6uji7
Guest
 
Posts: n/a
Default automatic attachment uploads

hello,

we have a website (with php pages) and has a particular page that reads
a csv file and displays the data on that page.

since we work and the firewall often prevents the ftp access, what we
want to achieve is to be able to email the csv files (as attachments)
to a set address (say files@domain.com) and what we want is to have
some sort of php program/file that will pick up these attachments and
put it in the required directory.

can someone suggest a way out please?

regards...


  #2  
Old August 23rd, 2005, 01:35 PM
ZeldorBlat
Guest
 
Posts: n/a
Default Re: automatic attachment uploads

What's wrong with an HTTP upload? Probably a lot easier to
implement....

But if you really want to do it with email attachments, check out the
IMAP functions, which, contrary to their name, can also handle POP3 and
NNTP:

http://www.php.net/imap

  #3  
Old August 24th, 2005, 12:05 AM
Jerry Stuckle
Guest
 
Posts: n/a
Default Re: automatic attachment uploads

r6uji7 wrote:[color=blue]
> hello,
>
> we have a website (with php pages) and has a particular page that reads
> a csv file and displays the data on that page.
>
> since we work and the firewall often prevents the ftp access, what we
> want to achieve is to be able to email the csv files (as attachments)
> to a set address (say files@domain.com) and what we want is to have
> some sort of php program/file that will pick up these attachments and
> put it in the required directory.
>
> can someone suggest a way out please?
>
> regards...
>[/color]

Set up your mail server to forward the email address via a pipe to the PHP
program. Then process the incoming mail in the PHP program.

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================
 

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Popular Articles

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over 220,989 network members.