automatic attachment uploads

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • r6uji7

    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.co m) 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...

  • ZeldorBlat

    #2
    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:



    Comment

    • Jerry Stuckle

      #3
      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.co m) 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@attgl obal.net
      =============== ===

      Comment

      Working...