Jump to content

Jordan1987x

New Members
  • Posts

    2
  • Joined

  • Last visited

Jordan1987x's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. How do i add an upload image option ((<input type="file" name="picture" />)) at the bottom of this form and get it to send the image with the form info to my email ? Everything works properly I just want the applicant to also be able to add a photo and send it with their info on the form and me receive it in the email...... Im new to all this.... any help would be greatly appreciated. Here is the current code: PHP CODE <?php $name = $_POST['name']; $email = $_POST['email']; $number = $_POST['number']; $alias = $_POST['alias']; $location = $_POST['location']; $age = $_POST['age']; $height = $_POST['height']; $weight = $_POST['weight']; $hair = $_POST['hair']; $eyes = $_POST['eyes']; $measurements = $_POST['measurements']; $nationality = $_POST['nationality']; $incalls = $_POST['incalls']; $outcalls = $_POST['outcalls']; $travel = $_POST['travel']; $work = $_POST['work']; $description = $_POST['description']; $comments = $_POST['comments']; $formcontent="Name: $name \n Number: $number \n Email: $email \n Alias: $alias \n Location: $location \n Age: $age \n Height: $height \n Weight: $weight \n Hair: $hair \n Eyes: $eyes \n Bust: $bust \n Waist: $waist \n Hips: $hips \n Nationality: $nationality \n Incalls: $incalls \n Outcalls: $outcalls \n Travel: $travel \n usCitizen: $citizen \n Availability: $work \n Description: $description \n Comments: $comments "; $recipient = "jordanmulcahy1987@gmail.com"; $subject = "Employment Application"; $mailheader = "Name: $email \r\n"; mail($recipient, $subject, $formcontent, $mailheader) or die("Error!"); header("Location: http://www.asecretcompanion.com"); ?> HTML CODE <form action="employment.php" method="POST" class="section1"> <h3>Employment Application</h3><p> Name:<input type="text" name="name" /><br> Number:<input type="text" name="number" maxlength="11" /><br> Email:<input type="text" name="email" /><br> Alias:<input type="text" name="alias" /><br> Location:<input type="text" name="location" /><br><br> Age:<input type="text" name="age" size="2" maxlength="2" /><br> Height:<input type="text" name="height" size="3" /><br> Weight:<input type="text" name="weight" size="3" maxlength="3" /><br> Hair:<input type="text" name="hair" size="5" /><br> Eyes:<input type="text" name="eyes" size="5" /><br> Measurements:<input type="text" name="measurements" size="5" /><br> Nationality:<input type="text" name="nationality" /><br><br> Incalls:<select name="incalls"> <option>Please Select</option> <option value="yes">Yes</option> <option value="no">No</option></select><br> Outcalls:<select name="outcalls"> <option>Please Select</option> <option value="yes">Yes</option> <option value="no">No</option></select><br> Travel:<select name="travel"> <option>Please Select</option> <option value="yes">Yes</option> <option value="no">No</option></select><br><br> Days/Hours Available To Work:<br><textarea name="work" rows="3" cols="25"></textarea><br /> Describe Your Personality:<br><textarea name="description" rows="3" cols="25"></textarea><br /> Questions and Comments:<br><textarea name="comments" rows="3" cols="25"></textarea><br /><br> <input type="submit" class="myButton" value="Submit Application"></form> thank you for your help -Jordan my host address is ent180.net16.net and i have an uploads folder in there too.... dont know if that info is needed? you can email me too at JordanMulcahy1987@gmail.com
×
×
  • 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.