Click here to Skip to main content
13,513,618 members
Rate this:
Please Sign up or sign in to vote.
See more:
<form method="POST" action="sendfile.php" enctype="multipart/form-data" class="form">
                   <img style="-webkit-user-select: none;     float: left;padding: 13px;" src="/lock.png">  <input name="pic" id="file" title="click to choose the file that you wish to send to your friend, remember you can only send up-to 2GB worth of file." type="file" required="">
                	<label for="title">Your Email</label>
                	<input type="text" id="email" title="Place your email into this box, this is so your friend knows who has sent them a file." name="email" placeholder="Type your email here" required="">
                	<label for="title">Friends Email</label>
                	<input type="text" id="friende" title="Type your friends email into this box, make sure you have the right email or they will not get the file your about to send them." name="title" placeholder="Type your friends email here" required="">
                	<label for="title">Short Message</label>

<textarea rows="5" name="msg"  title="If you have a short message for your friend then you can type it here, this is not a required feild so you don't need to send a message with the file." resize="none" id="msg" placeholder="Type a message for your friend here..." cols="33"></textarea>
            <input type="submit" title="Woop! Click this button to transfer your file to your friend." value="Transfer file" name="upload">

I need to link this up please with a PHP file, that then sends the attatched file as an attachment to the email along with a message
Posted 23-Feb-14 13:02pm
Sergey Alexandrovich Kryukov 23-Feb-14 19:50pm
What is it supposed to mean, "link this up"? Sending some form data as mail using PHP is described in many places. What's the problem?

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy |
Web04 | 2.8.180417.1 | Last Updated 23 Feb 2014
Copyright © CodeProject, 1999-2018
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100