I need a code to uplaod documents and pdf's to my email address

Last post 12-29-2011, 6:39 AM by Kenneth. 1 replies.
Sort Posts: Previous Next
  •  12-28-2011, 3:35 PM 72450

    I need a code to uplaod documents and pdf's to my email address

    Hi PHP NOOB HERE
     
     
    I need a help on PHP and how I can upload documents like Word & PDF and then have them sent to my email after pressing the send or submit button 
     
     
    Can you please just send me a simple code i can add to my site so this issue I've been having is resolved.  
  •  12-29-2011, 6:39 AM 72458 in reply to 72450

    Re: I need a code to uplaod documents and pdf's to my email address

    Hi james2012,
     
    1. You can handle the upload file extension by property "AllowedFileExtensions".
     
    $uploader->AllowedFileExtensions="docx,pdf,jpg"; 
     
    2. You need to write your own method to achieve the send mail function. The php uploader just a upload control, has not that function in-build.
     
     
    Regards,
     
    Ken 
View as RSS news feed in XML