AJAX PHP form, need help...

Heya,
So if you visit http://www.spencerhill.us you will find a contact form which is powered by AJAX and PHP. The form seems to work fine except that it's not email me. Can anyone help?

The files can be found here:
http://www.spencerhill.us/index.html
http://www.spencerhill.us/php/
http://www.spencerhill.us/js/contact.js/

Right then my problem is now fixed, but now I have a new problem. But before that the problem was that I changed the name of the folder "scripts" to "php" and preventing the sent emails. Shows how much I know js, haha.

New issue is assigned to a separate post. Thank you guys!

Tags: Dreamweaver

Similar Questions

  • PHP upload form, need help...

    Heya,
    If you visit http://www.cabinetsource.biz/admin_upload_form.php and try to download a file, you will see that it says "permission change too 755 has failed."
    I don't know what that means! I guess that means I can't download more files because any type of file you use and I have not modified the script since I downloaded it and it has been used. Can anyone help? Thank you!

    your permissions on the folder in the server are not set to 766

    This means the read write and create (as I remember) it could be run. I don't remember if you can do dw, but any other ftp program, you select the folder and change the attributes to at least 766. I normally edit them (only in this folder) to 777, that means that you can write files.

    Now this makes me also to remind you, an attacker could load a .bat or exe if you don't filter your files or hack your site...

    Good luck

  • Hide the filling while creating a form (need help)

    Hello

    I crossed to Illustrator after use Freehand for many years to create my vector art. I'm fighting with illustrator but because I tend to create lines by a form. example here http://www.dot2.uk.com/sugar.html so I need to be able to make these forms while being able to hide the filling. Hope that makes sense. Can you help me (I mean, it's... When you create a form using paths, it tends to fill the area that you create! I don't want that, I just need to see the way I created and so he can fill when it is in place.)

    Perhaps this step might help, the blue form is in layer 1 and the other layer of shapein 2, if you press 'Ctrl' + clik on the "eye" icon, you will see this form in mode plotted.

  • Create interactive booking form (need help)

    I work for a real estate company and we want to create a form that allows our booking agents in the advertising space. What I want to do is to create interactions between interactive buttons that are correlated information to demonstrate space booking as it decreases.

    Essentially, we have total of 8 modules which can be booked in different sizes, Module 1/8th (in the singular), half page quarter Page (2 x 1/8th) (4 x 1/8) and a full page (8 x 1/8)

    What I would like is a system where an agent can book a 1/8th and he demonstrates by blocking this much space in a global scheme, another agent can see this and make their reservation as a result which will block the amount of space you want.

    If there is any advice on this I would be eternally grateful.

    Kind regards

    My advice would be not to try to do it with a PDF file. Since you must dynamically update the form based on the existing reservations, this is something you should do as a web page, which in turn can be connected to a database with the current and updated information updated as needed.

  • Need help with PHP form with checkboxes, radio buttons and file as an attachment

    Hi guys,.

    I'm having a nightmare with this PHP form where a user can fill it out, attach a doc/pdf and submit. After trying to sort out with the previous code, I used, I have stripped try and think that I should start again just in the hope that you geniuses can help!

    Here is the HTML code of the contact.php:

    <form action="" method="post" name="contact" id="contact">
    
        <p>Job Title:*<br />
        <input name="position" type="text" /></p>
    
        <p>Nationality:*<br />
        <select name="nationality">
          <option value="">-- select one --</option>
          <option value="Afghan">Afghan</option>
          <option value="Albanian">Albanian</option>
          <option value="Algerian">Algerian</option>
          <option value="Zambian">Zambian</option>
          <option value="Zimbabwean">Zimbabwean</option>
        </select>
        </p>
        
        <p>Which country are you currently living in?*<br />
        <select name="country">
        <option value="">-- select one --</option>
        <option value="United Kingdom">United Kingdom</option>
        <option value="Afghanistan">Afghanistan</option>
        <option value="Africa">Africa</option>
        <option value="Zambia">Zambia</option>
        <option value="Zimbabwe">Zimbabwe</option>
        </select>
        </p>
        
        <label class="radio" for="checkRight">Yes/No question?</label><br />
        <input class="radio" type="radio" name="right" value="Yes" /> Yes
        <input class="radio" type="radio" name="right" value="No" /> No
        <input class="radio" type="radio" name="right" value="N/A" /> Not applicable
        
        <p>Yes/No question?<br />
        <select name="continue">
        <option value="">-- select one --</option>
        <option value="Yes">Yes</option>
        <option value="No">No</option>
        </select>
        </p>
        
        <p>Select your resorts:<br />
        Resort 1<input name="res1" type="checkbox" value="Resort 1" />
        Resort 2<input name="res2" type="checkbox" value="Resort 2" />
        Resort 3<input name="res3" type="checkbox" value="Resort 3" />
        Resort 4<input name="res4" type="checkbox" value="Resort 4" />
        Resort 5<input name="res5" type="checkbox" value="Resort 5" />
        Resort 6<input name="res6" type="checkbox" value="Resort 6" />    
        </p>
        
        <p>Don't send form unless this is checked:* <input type="checkbox" name="parttime" value="Yes" /></p>
        
        <p>Date of arrival: <input name="arrive" id="datepick" /><br />
        Date of departure: <input name="depart" id="datepick2" /></p>
        
        <script type="text/javascript" src="assets/scripts/datepickr/datepickr.js"></script>
        <link href="assets/scripts/datepickr/datepickr.css" rel="stylesheet">
        
        <script type="text/javascript">
        new datepickr('datepick');
        new datepickr('datepick2', {
        });
        </script>
        
        
        <p>Name:*<br />
        <input name="name" type="text" /></p>
        
        <p>E-mail:*<br />
        <input name="email" type="text" /></p>
        
        <p>Telephone:*<br />
        <input name="telephone" type="text" class="ctextField" /></p>
        
        <p>Upload CV (Word of PDF formats only):<br />
        <input type="file" name="cv" class="textfield"></p>
        
        <p><input name="submit" value="Submit Enquiry" class="submitButton" type="submit" /><div style="visibility:hidden; width:1px; height:1px"><input name="url" type="text" size="45" id="url" /></div></p>
    
    </form>
    

    Furthermore, the work of date boxes so excuse Javascript in there!

    To avoid SPAM, I used something where there is a hidden URL field that should be left blank for the form to submit you see in PHP.

    Here's where I am with the PHP which is placed above the heading of contact.php...

    <?php
    
    if (array_key_exists('submit', $_POST)) {
        $position = $_POST['position'];
        $arrive = $_POST['arrive'];
        $nationality = $_POST['nationality'];
        $parttime = $_POST['parttime'];
        $depart = $_POST['depart'];
        $name = $_POST['name'];
        $email = $_POST['email'];
        $telephone = $_POST['telephone'];
    
    $to = "[email protected]";
    $subject = "Recruitment Application";
    
    $message = $headers;
    $message .= "Name: " . $_POST["name"] . "\r\n";
    $message .= "E-mail: " . $_POST["email"] . "\r\n";
    
    $headers  = "MIME-Version: 1.0\r\n";
    $headers .= "Content-type: text/html; charset=iso-8859-1\r\n";
    $headers .= "Reply-To: " . $_POST["email"] . "\r\n";
    $headers .= 'From: My Website <[email protected]>' . "\r\n";
    
    
    
    $message= "
    ";
    
    $url = stripslashes($_POST["url"]);
    if (!empty($url)) {
    header( 'Location: http://www.go-away-spam-robots.com' );
    exit();
    }
    
    if (!isset($warning)) {
    mail($to, $subject, $message, $headers);
    header( 'Location: http://www.mywebsite.co.uk/sent.php' );
    }
    
    }
    
    ?>
    

    I would like to make virtually all of the mandatory field so if a field is left empty (other than the hidden URL field), a warning message is displayed next to this field.

    Also, I would like that the file upload field to attach to the e-mail address that is sent to me and the results come through me in a table.

    Can someone help me get my form to work?

    Thank you and I hope to hear from you!

    SM

    Either way, the url of your custom success page must go inside the thanks_page variable:

    $thanks_page [0] = "Success.php";

    Nancy O.

  • Need help with the form

    Hola

    Yes, even once, I need help.

    Please help me figure out why this form does not work.

    http://mydsigner.com/Claudia/pages/catering.html

    "If you see where the ' Capcha ' is?  In this box, there are ONLY 3 LETTERS/NUMBERS and 6 show.

    I can't find anywhere the process.php

    Going nuts :-(

    The original page is here:http://www.lascasuelasmexicanrestaurant.com/catering/

    It's 'Always' part of the site is mainly about php (?)

    Link here: https://forums.adobe.com/thread/1772037?sr=inbox

    Well, the site is almost done, just this little problem.

    A big thank you to all

    Salads from California

    You don't need this at the bottom of the page:

    You have a more recent call (1.11.1) at the library of the jQuery framework:

    2 scripts are contradictory, stop the datepicker work, so delete the old. The validation of the form should still work using the script more up-to-date.

  • Need help with PHP Muse (JavaScript error... by e-mail)

    Hey all the...

    I searched and did not see an answer to this:

    I exported my Muse file in HTML format and receive this error for my page contact us (email question):

    "JavaScript: PHP Script error form is missing from the web server or PHP is not configured correctly or your web hosting provider."  Check if the script PHP form as been downloaded correctly, then contact your provider for hosting on the configuration of PHP".

    What PHP version support MUSE... 5.1?  I contacted HostGator and they have just updated my PHP to 5.5 and asked me what needs PHP MUSE. Said HostGator 5.1 is old and they don't support 5.1. Can someone help me?

    Also, when I try to check PHP with: http://my-site.com/scripts/form_check.php , I just get an "oops" of the screen, but does not check my PHP. ???

    Thank you

    I don't see a page of Muse generated with a form to www.dancetx.com, or pages that links? Where can I find the page with the form that does not work? Thank you.

    If you Muse site doesn't have a form, which would explain why there is no file "form_check.php" on your site. This file (and the other for a form) are generated only when there is a form within the site uploaded/exported.

  • Nancy O I need help on form

    Hi Nancy I need help on a form, that I got from your site.

    http://bayviewdropincenter.org/contactus.html

    I need to know where framed uniformity mailto and nothing else that I forgot

    Thank you

    Allen Macfalda

    If your site supports PHP, use one of the masters of the DB.

    See this related discussion on how to apply it.

    Note: Form input ID must match the ID in your script. No spaces, case-sensitive.

    http://forums.Adobe.com/thread/912801

    Nancy O.

    ALT-Web Design & Publishing

    Web | Graphics | Print | Media specialists

    http://ALT-Web.com/

    http://Twitter.com/ALTWEB

  • PHP - report summary Page need help

    Hi all

    PHP - report summary Page need help... For example, I have a page where the user can select a small number of products, then I have a database PHP MySQL query that selects recent purchases of these products and where they were purchased at also like:

    -query... Select widget1 - widget2 and widget3

    RESULT...

    Widget1, 51, sold the store 1 the invoice

    Widget1, Bill 72, sold the store 2

    Widget1, Bill 59, sold the store 1

    widget2, invoice 2, sold in stores 2

    widget2, Bill 81, sold the store 1

    Widget3, Bill 201, sold the store 1

    Widget3, 151, sold the 2 store the invoice

    Widget3, Bill 17, sold the store 2

    Widget3, Bill 3, sold the store 1

    -I would like to report that may make certain features of synthesis, as well as the report output looks something like:

    'PRODUCTS to SHOW with SHOP SUMMARY'

    STORE 1

    Widget1, 51, more fields here the invoice

    Widget1, 59, more fields here the invoice

    widget2, 81, more fields here the invoice

    Widget3, 201, more fields here the invoice

    Widget3, Bill-3, more fields here

    STORE 2

    Widget1, Bill 72, more fields here

    widget2, invoice 2, more fields here

    Widget3, 151, more fields here the invoice

    Widget3, 17, more fields here the invoice

    -> I'm curious to know how to build php in order to simulate this STORE 'SUMMARY' on the page of the report. All ideas are welcome.

    THANKS in ADVANCE - Dave

    Dave, your question is quite broad, but may help the following:

    MySQL has functions of aggregation such as COUNT and SUM. It would probably be useful for you in your solution. I always try to do as well in the database as possible rather than dumping a lot of data in the php script to process. Also look at the MySQL GROUP BY WITH ROLLUP as a way to return altogether.

  • PHP form script is missing from the web server or PHP is not properly configured on your web hosting provider. Help - I get this message on my site when the form is filled out and you press send... Check if the form PHP script has been downloaded correctl

    PHP form script is missing from the web server or PHP is not properly configured on your web hosting provider. Help - I get this message on my site when the form is filled out and you press send... Check if the form PHP script has been downloaded correctly, contact your host about the configuration of PHP.

    Hi Graham,

    If you, please add your site to this link ( http://my-site.com/scripts/form_check.php ) and make sure that all green checkmarks are appearing. If they don't, let us know what errors you seem to receive and include the link to your site.

    In addition, check out this guide on the forums of Muse troubleshooting: Troubleshooting Muse form used on the servers of third party Widgets

    I hope this helps!

    Emily

  • I'm on Acrobat 10 and I need help with the distribution of shape feature. Is there a way to change the registration e-mail download addressed to the? Currently all forms I create and then distribute may only be subjected to my email account... I appreciat

    I'm on Acrobat 10 for mac and I need help with the distribution of shape feature. Is there a way to change the registration e-mail download addressed to the? Currently all forms I create and then distribute may only be subjected to my email account... I appreciate any help!

    Do not use the feature distribute the form. Instead of this, just put up a button "submit" and configure it to send email using any email address you want. Just add a button and set the action of the mouse upward on "Submit a form" and use a type mailto URL and specify that you want to send the full PDF. Then activate the reader of the document: where "Advanced/extended features in Adobe Reader" is located in Acrobat XI?

    If you really want to use distribute the form for some reason, change the e-mail address in your preferences: Edit > Preferences > identity > Email address

  • PDF form field calculation need help

    I need to do some simple calculations on a form pdf and need help.

    I have a form field for number of guests.

    Fixed a field for a cost for several tickets (there are 3 levels of ticket prices) (I might not need this field).

    A subtotal of the guests in attendance and ticket prices.

    Total subtotals.

    I can't understand how to place a fixed cost in a form field or calculation of entry so that the number of tickets is multiplied by a fixed number and gives me a subtotal.

    Thank you.

    Use the Notation Simple option. Just enter the number for packages

    himself. For domain names, you can enter the actual names, as long as they

    do not contain no spaces or other special characters.

  • Need help with Java Script to perform a calculation in the form of Adobe Acrobat Pro 9

    I have a form (test) I created in Adobe Acrobat 9 Pro.

    I need help to create a custom JavaScript, so I can get the desired response.

    1) there are several questions in each group requiring a numeric response between 0-4

    2) there is a total set up field to calculate the sum of the responses of all of the above questions

    (3) the final "score" takes the answer in step 2 above and divide by the total possible response

    Any help to what Java Script I need to fill it would be greatly appreciated!

    I have attached a spreadsheet "" which shows more in detail as are the result of what I used in Excel to get the desired end formulas.

    Thanks in advance.

    Have you tried the "field is the average of:"?

  • Former Nikon user needs help w / AF on a 5 d MK I

    I bought a used 5 d MK I and new EF 24-105mm f / 4L and I'm having problems with the autofocus. I shot a test subject to 16 feet of focal plane (used a tape measure), but moved Center AF point focal beyond the mark of 20 ft on the lens. I was shooting 50mm at f5.6 so sharpness was ok, but really sweet because the subject was on the near end of the focal length range. When I shoot wide open at distances more close photos are unusable. Any ideas on that? What I need to send to Canon for repair, or is this a known problem with this model of body? I shot Nikon for 20 years, so I'm totally out of my element here; I could not yet understand how to use the self-timer for family vacation photos. Any help for a beginner user of Canon is appreciated!

    Thanks for the reply! I pulled the manual on the web when I got the camera and think I have everything set up correctly.

    What I really need help, is if there is a known issue with AF on the 1 5 or if I use the wrong settings. I'm really just trying to determine if I need to send the body of the camera, lens or two to Canon for repair, or if I would be wasting my money doing so.

    My test subject was 16 feet more distance, but the camera and lens determined she was 20 feet away. The camera was tripod mounted with IS off, Av mode, ISO 800 set at f5.6, 50mm, I Focus mode AF and the central focus point square on the nose of subjects. I used flash ettl and unfortunately I can't remember what was the shutter speed, but I can remove it from the EXIF if it's important. Development was strong at about 5 feet behind the subject.

    The questions remain the same with or without UV filter on the lens. AF seems pretty good for macro up to about 10 feet away, then it seems to be far away. Is this a limitation of the AF system on this unit or could be improved spend the money to have the Canon watch? Or I'm better this unloading at KEH and get another camera?

  • Need help form

    I need help converting a Crystal Reports formula for a logical column field in the responses.

    The current formula is:

    (90 - (trunc (sysdate) - greatest (NVL (trunc (logondatetime), to_date (' 01/01/1980 ',' mm/dd/yyyy')), (createdate) trunc, trunc (modifydate))))

    Thank you!

    in the physical layer of the RPD create physical table - select sql
    type this formula in the sql window

    name of the pass for example col1

    Drag this pass to the business model, then the presentation layer

    Now you can use it in your reports, as the pass is get calculated next to the RPD will be also faster

Maybe you are looking for