Re: Uploading and creating an email attachment, WITHOUT a DB on server

From: Date: Tue, 27 Mar 2012 12:41:20 +0000
Subject: Re: Uploading and creating an email attachment, WITHOUT a DB on server
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-317302@lists.php.net to get a copy of this message
Addendum: what standard functions could I invoke to accomplish the file system view part? On Tue, Mar 27, 2012 at 2:37 PM, Christopher Svanefalk < christopher.svanefalk@gmail.com> wrote: > Dear all, > > I am rather green to PHP and web programming in general, and would just > like some pointers how to accomplish the following. > > I have a webpage on a remote host, which supports PHP but does not have a > DB installed. Here, I have a form where the user can input personal > credentials, which are then processed and sent as an email message to me > from the server. This part work so far. > > I want to do the following: the user should be able to upload his/her CV. > To do so, I need the following: > 1) A way for the user to open a conventional file system view to select > the file to upload > 2) A way to take this file, add it as an attachment to the mail created in > the form, and finally send the mail + attachment to my mail. > > Is this possible to do without intermediary storage in a DB? I.e. is it > possible just to pass the attachment directly from working memory to the > function for sending email? Or does it have to go intermediare storage? > > Thanks in advance for any help! > > -- > Best, > > Christopher Svanefalk > > -- Best, Christopher Svanefalk

« previous php.general (#317302) next »