Jump to content

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

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.