I had a perfectly good form made with a now seemingly extinct generator. Recently it quit and my host said "Per the Systems Administrator, due to security reasons, forms can no longer send from the user: nobody. You will simply need to update your form to send from a legitimate address" When I ask how? I got "You would need to edit the code of your form to add a valid email address on the server. Unfortunately we can not offer code support to make these changes for you."
It was a rather detailed (and good for the sites needs)form. Is there and easy way to add what my hosts server requires?
I've done searches all day, and I'm not finding an answer that doesn't go over my beginners head. This form only goes to my address, so "noreply" isn't really needed, just the code to get a legitimate address in.
<?php
$where_form_is="http://".$_SERVER['SERVER_NAME'].strrev(strstr(strrev($_SERVER['PHP_SELF']),"/"));
// Checkbox handling
$field_6_opts = $_POST['field_6'][0];
// Checkbox handling
$field_7_opts = $_POST['field_7'][0];
// Checkbox handling
$field_8_opts = $_POST['field_8'][0];
// Checkbox handling
$field_9_opts = $_POST['field_9'][0];
// Checkbox handling
$field_10_opts = $_POST['field_10'][0];
// Checkbox handling
$field_11_opts = $_POST['field_11'][0];
// Checkbox handling
$field_12_opts = $_POST['field_12'][0];
// Checkbox handling
$field_13_opts = $_POST['field_13'][0];
// Checkbox handling
$field_14_opts = $_POST['field_14'][0];
// Checkbox handling
$field_15_opts = $_POST['field_15'][0];
// Checkbox handling
$field_16_opts = $_POST['field_16'][0];
// Checkbox handling
$field_24_opts = $_POST['field_24'][0];
// Checkbox handling
$field_25_opts = $_POST['field_25'][0];
// Checkbox handling
$field_26_opts = $_POST['field_26'][0];
// Checkbox handling
$field_27_opts = $_POST['field_27'][0];
// Checkbox handling
$field_28_opts = $_POST['field_28'][0];
// Checkbox handling
$field_29_opts = $_POST['field_29'][0];
// Checkbox handling
$field_30_opts = $_POST['field_30'][0];
// Checkbox handling
$field_31_opts = $_POST['field_31'][0];
// Checkbox handling
$field_32_opts = $_POST['field_32'][0];
// Checkbox handling
$field_33_opts = $_POST['field_33'][0];
// Checkbox handling
$field_34_opts = $_POST['field_34'][0];
// Checkbox handling
$field_35_opts = $_POST['field_35'][0];
// Checkbox handling
$field_36_opts = $_POST['field_36'][0];
// Checkbox handling
$field_37_opts = $_POST['field_37'][0];
// Checkbox handling
$field_38_opts = $_POST['field_38'][0];
// Checkbox handling
$field_39_opts = $_POST['field_39'][0];
// Checkbox handling
$field_40_opts = $_POST['field_40'][0];
// Checkbox handling
$field_41_opts = $_POST['field_41'][0];
// Checkbox handling
$field_42_opts = $_POST['field_42'][0];
// Checkbox handling
$field_43_opts = $_POST['field_43'][0];
// Checkbox handling
$field_44_opts = $_POST['field_44'][0];
// Checkbox handling
$field_45_opts = $_POST['field_45'][0];
// Checkbox handling
$field_46_opts = $_POST['field_46'][0];
// Checkbox handling
$field_47_opts = $_POST['field_47'][0];
// Checkbox handling
$field_48_opts = $_POST['field_48'][0];
// Checkbox handling
$field_49_opts = $_POST['field_49'][0];
// Checkbox handling
$field_50_opts = $_POST['field_50'][0];
// Checkbox handling
$field_52_opts = $_POST['field_52'][0];
// Checkbox handling
$field_53_opts = $_POST['field_53'][0];
// Checkbox handling
$field_54_opts = $_POST['field_54'][0];
// Checkbox handling
$field_55_opts = $_POST['field_55'][0];
// Checkbox handling
$field_56_opts = $_POST['field_56'][0];
// Checkbox handling
$field_57_opts = $_POST['field_57'][0];
mail("me@yahoo.com","MY SITE - Form submission","Form data:
Full Name: " . $_POST['field_1'] . "
Address: " . $_POST['field_2'] . "
email: " . $_POST['field_3'] . "
phone: " . $_POST['field_4'] . "
Studio or facility name and address, if not the same: " . $_POST['field_5'] . "
WHAT TYPE OF STUDIO: Please check all that apply
Writers: $field_6_opts
Recording: $field_7_opts
Rehearsal : $field_8_opts
Dance: $field_9_opts
Advertising: $field_10_opts
Professional: $field_11_opts
Demo: $field_12_opts
Existing building: $field_13_opts
Remodel: $field_14_opts
Exterior ground up: $field_15_opts
Ground floor or above: $field_16_opts
Floor level of studio build out: " . $_POST['field_17'] . "
Other Please specify: " . $_POST['field_18'] . "
IS THE BUILDING: " . $_POST['field_19'] . "
If leased how long is the lease: " . $_POST['field_20'] . "
SIZE OF THE STUDIO AREA FOR BUILDOUT
Total square footage: " . $_POST['field_21'] . "
Ceiling height: " . $_POST['field_22'] . "
Do you have a full set of plans for the existing area?: " . $_POST['field_23'] . "
YOUR STUDIO NEEDS/WANTS Please check all that apply
Full†studio set of plans: $field_24_opts
Floor plan†: $field_25_opts
Layout only: $field_26_opts
Floor plan ideas only: $field_27_opts
Full construction documents: $field_28_opts
3D plan: $field_29_opts
3d walk through: $field_30_opts
Design ideas: $field_31_opts
Full acoustics: $field_32_opts
Interior fitting ideas: $field_33_opts
Audio wiring: $field_34_opts
HVAC: $field_35_opts
Electrical: $field_36_opts
Custom cabinetry : $field_37_opts
Our construction team: $field_38_opts
Our Project management: $field_39_opts
Our custom products: $field_40_opts
WHAT OTHER AREAS TO BE INCLUDED Please check all that apply
Kitchen: $field_41_opts
Lounge: $field_42_opts
Conference room or rooms: $field_43_opts
Production suites: $field_44_opts
Computer room: $field_45_opts
Storage: $field_46_opts
Bathrooms: $field_47_opts
Offices: $field_48_opts
Reception: $field_49_opts
Halls: $field_50_opts
Other: " . $_POST['field_51'] . "
INTERIOR STYLE PREFERENCES Please check all that apply
20 Century Modern: $field_52_opts
Traditional : $field_53_opts
Conservative: $field_54_opts
Modern: $field_55_opts
Ultra Modern: $field_56_opts
Vintage: $field_57_opts
Other Style: " . $_POST['field_58'] . "
Color scheme preference : " . $_POST['field_59'] . "
PLEASE TELL US HOW YOU FOUND US
Referred by: " . $_POST['field_60'] . "
Internet Search: " . $_POST['field_61'] . "
If Other, please specify: " . $_POST['field_62'] . "
Magazine article, Please specify: " . $_POST['field_63'] . "
Additional comments:: " . $_POST['field_64'] . "
powered by phpFormGenerator.
");
include("confirm.html");
?>