Search found 3 matches
- Wed May 14, 2008 1:48 pm
- Forum: PHP - Code
- Topic: Making an upload form with email and name
- Replies: 5
- Views: 1091
Re: Making an upload form with email and name
Hey sorry for the confusion, What I meant was that in the txt file, instead of showing the person's actual name and email that they type in the Name and Email fields, the file contains only the words "Name: Email:" with nothing following (ex. I see "Name: Email:" instead of "...
- Wed May 14, 2008 1:22 pm
- Forum: PHP - Code
- Topic: Making an upload form with email and name
- Replies: 5
- Views: 1091
Re: Making an upload form with email and name
That worked really well, except for one thing: The txt file that gets made doesn't have the submitted entry, just "Name: Email: " here's the PHP again: $fp = fopen("upload/".$_FILES["file"]["name"].".txt", "w"); fwrite($fp, "Name: &quo...
- Tue May 13, 2008 7:45 pm
- Forum: PHP - Code
- Topic: Making an upload form with email and name
- Replies: 5
- Views: 1091
Making an upload form with email and name
I'm trying to make an upload form that has not only the file on it, but also has an email address and name of the person uploading. I've got a form that has the Name, Email, File slots, but I can't get the PHP to send all the information on the form to the folder in my host's file manager. This is m...