Jump to content

Upload Document Send in Form Mail??


suess0r

Recommended Posts

Hi,

 

I have an upload form, and right now I'm trying a bunch of different ways of what to do with the documents once I upload them. Basically I'm building this for a copywriter / editor so she can edit peoples documents easily. Does anyone have any opinions if it would be more beneficial to:

A. Send directly to her in an e-mail form (Name, Phone, Contact, and the Document)

B. Store on a directory folder on the server

C. Store in a database

 

I'm really leaning on A right now because it would be a lot easier I think for her to manage, she said she doesn't want to deal with databases or anything. So here is my upload form, if I use normal formmail for my mail forms can I do a normal Form Mail post with a input type="file"? Right now it's going to updir.php b/c I was testing out some storing on directories but it got kinda messy.

 

<form action="updir.php" method="post" enctype="multipart/form-data">

<label for="file">

<div align="center">Filename:

  <label>

    <input type="file" name="file" id="file" >

    <input type="submit" name="submit" value="Submit" >

  <br >

</form>

Link to comment
https://forums.phpfreaks.com/topic/51337-upload-document-send-in-form-mail/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.