Why my sending form used?

Ive tried everything, but I can't get my form to submit?

This happens when I hit 'submit '.

Fatal error : Call to undefined function isinjected() in /websites/123reg/LinuxPackage23/CL/OC/KD/clockdoctors.co.UK/public_html/memorials/estimate-à-email.php online 42

But why?

http://www.milesmemorials.com/estimator.html

<? PHP

If (array_key_exists ('catwebformbutton', $_POST))

{

$CAT_Custom_76922 = $_POST ['CAT_Custom_76922'];

$CAT_Custom_00000 = $_POST ['CAT_Custom_00000'];

$CAT_Custom_76926 = $_POST ['CAT_Custom_76926'];

$CAT_Custom_76924 = $_POST ['CAT_Custom_76924'];

$CAT_Custom_76927 = $_POST ['CAT_Custom_76927'];

$total = $_POST ['total'];

$CAT_Custom_76928 = $_POST ['CAT_Custom_76928'];

$CAT_Custom_76930 = $_POST ['CAT_Custom_76930'];

$CAT_Custom_76923 = $_POST ['CAT_Custom_76923'];

$CAT_Custom_00006 = $_POST ['CAT_Custom_00006'];

$CAT_Custom_00003 = $_POST ['CAT_Custom_00003'];

$CAT_Custom_76929 = $_POST ['CAT_Custom_76929'];

$total_crem_disbursements = $_POST ['total_crem_disbursements'];

$CAT_Custom_76928 = $_POST ['CAT_Custom_76928'];

$CAT_Custom_76931 = $_POST ['CAT_Custom_76931'];

$CAT_Custom_00005 = $_POST ['CAT_Custom_00005'];

$CAT_Custom_00001 = $_POST ['CAT_Custom_00001'];

$CAT_Custom_00004 = $_POST ['CAT_Custom_00004'];

$total_burial_disbursements = $_POST ['total_burial_disbursements'];

$grand_total = $_POST ["grand_total"];

$FirstName = $_POST ["FirstName"];

$LastName = $_POST ['name'];

$EmailAddress = $_POST ["EmailAddress"];

$HomeAddress = $_POST ['HomeAddress"];

$HomeCity = $_POST ["HomeCity"];

$HomeState = $_POST ["HomeState"];

$HomeZip = $_POST ['HomeZip"];

$HomeCountry = $_POST ['country'];

$HomePhone = $_POST ["HomePhone"];

$CellPhone = $_POST ['portable'];

Validate first

If (Empty ($total) |) Empty ($Grand_Total) | Empty ($FirstName) | Empty ($LastName) | empty (dress $EmailAd) | Empty ($HomeAddress) | Empty ($HomeCity) | Empty ($HomeState) | Empty ($HomeZip) | empty ($ country of origin). Empty ($HomePhone) | Empty ($Cellphone))

{

ECHO ' Please make sure all fields are filled! "

"exit";

}

If (IsInjected ($EmailAddress))

{

echo "value of Bad email!";

"exit";

}

$email_from = ' milesmemorials.com';// < == update e-mail address

$email_subject = "M & D Web site estimated";

$email_body. = "name: $FirstName.» \n » ;

$email_body. = "Name: $LastName.» \n » ;

$email_body. = ' address: $HomeAddress.» \n » ;

$email_body. = ' city: $HomeCity.» \n » ;

$email_body. = ' County: $HomeState.» \n » ;

$email_body. = "postal code: $HomeZip.» \n » ;

$email_body. = "country: $HomeCountry.» \n » ;

$email_body. = "Telephone: $HomePhone.» \n » ;

$email_body. = ' mob: $CellPhone.» \n » ;

$email_body. = ' mileage collection: $CAT_Custom_76922. " \n » ;

$email_body. = ' display: $CAT_Custom_00000. " \n » ;

$email_body. = ' Coffin: $CAT_Custom_76926. " \n » ;

$email_body. = ' road: $CAT_Custom_76924. " \n » ;

$email_body. = ' limousines: $CAT_Custom_76927. " \n » ;

$email_body. = ' funeral fresh sub: $total.» \n » ;

$email_body. = "cremation: $CAT_Custom_76928." \n » ;

$email_body. = "cremation costs: $CAT_Custom_76930." \n » ;

$email_body. = "wear standby: $CAT_Custom_76923." \n » ;

$email_body. = ' venue for the service: $CAT_Custom_00006. " \n » ;

$email_body. = "Minister taxes: $CAT_Custom_00003." \n » ;

$email_body. = ' doctors fees: $CAT_Custom_76929. " \n » ;

$email_body. = "total disbursements of cremation: $total_crem_disbursements." \n » ;

$email_body. = ' funeral: $CAT_Custom_76928. " \n » ;

$email_body. = "cemetery costs: $CAT_Custom_76931." \n » ;

$email_body. = "wear standby: $CAT_Custom_00005." \n » ;

$email_body. = ' venue for the service: $CAT_Custom_00001. " \n » ;

$email_body. = "Minister taxes: $CAT_Custom_00004." \n » ;

$email_body. = "total funeral disbursements: $total_burial_disbursements." \n » ;

$email_body. = ' funeral total cost: $grand_total. ". \n » ;

$to = " [email protected] ";// < == update the email address .

$headers = ' from: '. $EmailAddress. » \r\n » ;

$headers. = "reply-To:". $EmailAddress. » \r\n » ;

Send the email!

mail($to,$email_subject,$email_body,$headers);

fact.  Redirect to the payment page.

Header ('Location: thankyou_estimate.html "");

Function to validate against any attempt to electronic fuel injection

function IsInjected ($str)

{

$injections = array ('(\n+)',

'(\r+)',

'(\t+)',

"(% 0 A +) »,

' (0 % D +)',

'(% 08 +) »,

« (% 09 +) »

);

$inject = join ('|) (', $injections);

$inject = ' / $injecter / I ";

If (preg_match ($Inject, $STR))

{

Returns true;

}

on the other

{

Returns false;

}

}

}

? >

Here is what I use to validate emails:

If (! $visitormail == "" & (!)) strstr($visitormail,"@") | ! strstr($visitormail,".")))

{

ECHO '.

Use Back - enter a valid e-mail

\n » ;

$badinput ="

Your message has NOT been submitted.

\n » ;

echo $badinput;

Die ("Go back!");

}

I also don't use uppercase characters in the fields for the first letter, but it's a habit I picked up with HTML

Basically, the enamel must be XXX@YYY. ZZZ Greenvvooei I do validation.

You could try that.

Tags: Dreamweaver

Similar Questions

  • What stage of treatment do you use for email autoresponder to each sender form?

    Hello

    What stage of treatment do you use for email autoresponder to each sender form?

    Thank you

    Hello

    You can use option send email.

    Thank you

    edynamic expert Eloqua

  • Help submitting the form using php

    Using DW CS5.5, I created a simple contact form 12 field. Rather than using a cgi script to send form data, I prefer to use php.  Can someone provide me with a source for simple instructions on how to do it?  I searched past discussion forums, but can't find anything that will guide me in the specific steps.  The form is already installed on my page, but now I don't know what to do next to make functional, so it will send to my address e-mail, form data when the user clicks the submit button.  I checked online also, but to find the instructions more geared towards those who have more experience or knowledge than me in this kind of things.  Creation of shapes on the page is easy, and I understand the big picture regarding how work of forms, and what happens in the background, but it is impossible to find out what either written in simple language that will tell me step by step what to do after the creation of the form on the page.

    Thanks for anyone's help.

    Nancy has written a good tutorial Alt-Web Design & Publishing: Contact form sensitive with 3.2 Bootstrap and PHP (part 1)

    The PHP part starts Alt-Web Design & Publishing: sensitive Contact with 3.2 Bootstrap and PHP (part 2) form , but it does not hurt to start from the beginning

  • Collect data through HTML form using the Web content viewer?

    I have a folio that is perceived through the content viewer Adobe, built with Digital Publishing Suite. I have a registration form where I'll need to collect responses from people and their contact information. I have a HTML file that I placed in InDesign, and rail shape. But how can we content submitted through sending form through my email? I need a PHP file as well?

    If you create a form, for example, with action = "mailto:[email protected]" method = "POST" all elements inside the form entry will be enters the body of the message.

    However, the disadvantage is that the user will have its own program by default mail which will open (focus) web viewer and try to send the mail + which is more annoying, is that data are in the post office, so that you can not use automatically.

    a form to a php file action would be something more useful (and would also be an approach I would do).

  • Why can I not use hidden or display point only to store the value for insertion?

    Hi, gurus:

    I have a question:

    I implemented a form with the region of report in a page, the update works OK, but the add function has a problem:

    There is a column, offender_ID, which is a foreign key to another table, it must not be null during insertion. However, even I pass the ID of the author of the offence of master page when user click on the button create and he did watch in the form, it must be a text tabled for insert success, why can I not use hidden or display point only to store this value for insert? (If I use hidden or display single element insert will be successful, apex reports I tried to insert a null value for the offender_ID column.)

    Thanks in advance.

    Sam

    Hello

    There is a column, offender_ID, which is a foreign key to another table, it must not be null during insertion. However, even I pass the ID of the author of the offence of master page when user click on the button create and he did watch in the form, it must be a text tabled for insert success, why can I not use hidden or display point only to store this value for insert? (If I use hidden or display single element insert will be successful, apex reports I tried to insert a null value for the offender_ID column.)

    I think that both hidden and display elements have attributes that can cause problems because of different ways these function elements as the only non-display and feature no hidden items. The only items have a "Save Session State' yes/no 'control'? This can be a problem.

    Would you do that? Do these regular items instead and see if you can get those working. Then, we will try to change the fields back to hidden or display only.

    Howard

    Congratulations. I'm glad you found the solution.

    Published by: Howard (in training) April 11, 2013 10:26

  • want to send sms using java

    I'm developing a stand-alone Java application that contains sms sending to certain numbers.

    I want to send sms using java and my phone connected to my pc with a usb cable (and not via Bluetooth).

    I use Linux operating system (Arch linux).

    I tried a few libraries that uses the sms online portals, but for some reason, I don't want to pay these sites. (just to make my card SIM cause its economic want).

    Help appreciated

    880667 wrote:
    I'm developing a stand-alone Java application that contains sms sending to certain numbers.

    I want to send sms using java and my phone connected to my pc with a usb cable (and not via Bluetooth).

    I use Linux operating system (Arch linux).

    I tried a few libraries that uses the sms online portals, but for some reason, I don't want to pay these sites. (just to make my card SIM cause its economic want).

    Help appreciatede

    The first thing you need to check: are you able to access other services my connection your phone by USB to the computer (line GPRS, calling). Because it requires the call or SMS access to the port. And you said that it is economic by sending an SMS using mobile, that depends. But most of the time, it is best to use the SMS service provider getway. They provide details http or FTP, there just put or message in the form accepitng, things happen by providing it service.

  • Problems with saveAs form using Javascript

    I created a form using Acrobat X Pro. I have activated additional features so it will save.

    The form has a "Save form" button with the following code of Actions:

    var FileName = ' / H/docs / "+ this.getField("Last_Name").value +" "+ this.getField("First_Name").value +"2012.pdf Evaluation. "

    this.saveAs ({cPath: FileName, bPromptToOverwrite: true});

    The screen is located in a directory on a server (is not stored locally on the PC). The formula works very well, every time. If I click on save button, it allows to save the form with the new name in the path of the affected server. But if I open it from another PC on the network, nothing happens when I click on the save form"" button. But the reader allows me to record using file-> save as-> PDF on the menu?

    What I am doing wrong? Saves the form one way but not the other? Why Javascript does not work?

    Any help will be greatly appreciated.

    I'm surprised that you can get this code works in a button. It is not there because it featured a privileged context, as a function of confidence in a script to the folder level. Here is a tutorial that explains the details: http://acrobatusers.com/tutorials/how-save-pdf-acrobat-javascript

  • Send attachments using the uninstall function send the formula

    Don't know if it's possible...

    I have an updated registration form used as a contact using the MEASUREMENT form.

    He has a couple of fields which are files and uses of MEASUREMENT for upload to the server.

    I also use ABLE to send emails, the contents of the form to the owner of the site.

    Would I be able to send these files as attachments to this email?

    Looking at it, it seems not let me pick a form contained in attachment of the field, but I could be missing something.

    If it is possible, so if someone could tell me where I'm wrong, that would be much appreciated.

    Thank you.

    Even if the MEASURE would allow you to choose the file field´s in this purpose, of course it s quite problematic, because this information (the name of the file to be downloaded) alone does not represent the physical location of this file on your server * after * it s been downloaded - and it s the way of the full file that could be expected , and which is not determined by the value of this field in file.

    See you soon,.

    Günter

  • Is possible to save a form using Acrobat Reader? How?

    Hi all

    I designed a static pdf form using Livecycle. I want to send to recipients of the form, and I need that they me the pdf form back. I can do this without problems on Adobe Acrobat Pro, but my friends who use Adobe Reader cannot save the completed form. Adobe Reader offers to save a blank copy of the form or print filled. But not what I need. I need to have best x of the form (pdf file) filled by my beneficiaries of x. Y at - it option in Livecycle for to save the form filled out on Acrobat Reader?

    Thanks in advance,

    Enrique Llorens

    Decree No. presidential apology for my bad English...

    Hi Enrique.

    So that users with the reader to be able to save your form, it must be "enabled drive" before you send it.

    You have three choices:

    • Drive allow the form with LC Reader Extensions ES2, which is a component of server based on the rest of the company. It is planned for the processing of large volumes of data/forms and an additional cost per form.
    • Player select the form using Acrobat Standard v9 (or Acrobat Pro v7 to v8). It has less than 500 users per form license restrictions.
    • Instead of users with reader to send the return in PDF form. You can configure a button "send as XML. It does not require users to drive to save the form.

    I have a summary of the features that are available/restricted depending on whether the form is activated and how it has been activated on our blog: http://assurehsc.ie/blog/index.php/2010/05/using-livecycle-forms-in-acrobat-and-reader/

    When you open the sample at the end of the post, if you hover over the question marks, you can see screenshots of the activation process.

    Hope that helps,

    Niall

  • why we need to use webutil

    Hi all

    why we need to use webuti?


    Sarah

    Published by: SarahSarahSarah on September 15, 2009 05:36

    Hi Sarah!

    You need webutil for integration on the client side.

    There are functions to obtain information on the client
    love to read the name of the client (pc name), to read and write to the registry and so on.

    Without webutil, it is not possible to read an imagefile
    on the clients file system and store it in the database.

    There is a file transfer package, copy files from and to the server
    and to download files from an http url.

    If you submit an appeal forms welcome build-in to call
    for example a batch file, this call would be running on the server, not the client!

    For this Mr. Duncan Mills gave us webutil. Thank you!

    Concerning

  • Why firefox, send emails to my contacts from my e-mail invite them to learn more about Firefox Hello?

    Why firefox, send emails to my contacts from my e-mail invite them to learn more about Firefox Hello?

    Thanks for the clarification on the h which is exactly the test/email that gets sent when you or someone on your pc is to create a conversation of Hello firefox and click the "link email" to invite another person to this conversation. This is something that happens and gets sent after manual steps by the user, so there should not be a reason to worry about this.

    Alternatively, you can try it yourself as described in:
    Hello Firefox - video and voice chat conversations

  • Why can I not use my ITunes credit to buy a movie on Apple TV?

    Why can I not use my Itunes credit to rent a movie on Apple TV?

    the credit, which I like to use is the same that if I buy an App?

    Apple TV wants to charge my credit card to rent a movie

    You can use the credit to rent a movie on Apple TV. Your card will be charged if the credit is not sufficient to cover the rental

  • tried to send emails using the fast-forward button now e-mail flashes on and outside

    tried to send emails using the fast-forward button now e-mail flashes on and outside

    Please disconnect from the Internet temporarily, if necessary, by disabling a Wi - Fi connection or unplug Ethernet cable, whichever is applicable.

    In the Mail menu bar, select

    ▹ Connection Doctor window

    Look for the email account (SMTP) out in the window that opens. Double-click it. Another window opens, displaying the list of all outgoing mail accounts. We'll pick the one affected. Make a note of the settings. Click the sign to remove, and then click OK.

    Reconnect to the Internet and add the account back with the same settings.

  • Why can I not use three fingers to drag an item on my screen?

    Why can I not use three fingers to drag an item on my screen?

    There is no option in the preferences system - trackpad.

    How can I go back to os x? I am not happy with El Capitan

    Thank you

    See here three-finger drag is gone in my macbook air?

  • Firefox 4 does not save form data after sending form and pressing the previous button

    Firefox 4 does not save form data after sending form and pressing the back button... It's very annoying that it erases all data. It worked fine on FF3.

    See:

    • Firefox or tools > Options > privacy > History: "don't forget to search and form history."

Maybe you are looking for

  • Cannot remove the old user account (admin)

    I'm on a MacBook Pro 15 "the retina with OS X Yosemite 10.10.5. I have two admin accounts, an 'old' I do not use and a more current that I use. I want to delete the 'old' admin account, but I get an error message: "cannot delete user... account error

  • Tiara add a channel programmatically

    I want to add strings programmatically in a sheet.  How this is done?  I used the following code but seems not to carry out the instructions that I want in the purpose of the 2-D axis.  I used the standard controls example to paint the red background

  • How many orders 9600 baud can handle?

    I use a motor controller that communicates via a serial port at 9600 baud.  I use the Labview to generate the specific command that we want that the runtime engine, (speed, direction, time, etc.) which is a short string like "/ 1J97E0M\r"each charact

  • What happened to the default games?

    I have recently upgraded to Windows 7, but since I switched from Windows Vista Ultimate 64 - bit of Windows 7 Professional 64 bit, I was forced to reinstall and lose all my old programs. My only problem is that the default 'games' folder that came wi

  • Impossible to make Gmail my default email.

    I use Gmail, but the I can't make my default email. When I try to change it in the menu of the program internet options, there is not an option for Gmail. Can I change this or I'm out of luck. Please help me. THX.