Help | Site Map
Connecting Tech Pros Worldwide
 
 
LinkBack Thread Tools
  #1  
Old August 23rd, 2005, 01: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, 02: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, 01: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

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 Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

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 network members.
Post your question now . . .
It's fast and it's free

Popular Articles