Good, easy, reliable CAPTCHA for PHP form

Does anyone know of a reliable (and easy to impliment) CATPCHA for PHP forms? My website is having the hell spammed out of it!
There are loads out there, but I need a recommended one - and one that a novice like me can install!

Thank you for all your help, but I must be doing something wrong.
The 'hidden' field in my form is called 'ip'. So, I inserted this:
if (!empty($_POST['ip'])) { return false; }
...but they're still getting submitted to my database - complete with information in the "ip" field.
I have insertted it at the following ponit in my php:
  mysql_select_db($database_DB1, $DB1);
  $Result1 = mysql_query($insertSQL, $DB1) or die(mysql_error());
  $insertGoTo = "/thanku.php";
  if (isset($_SERVER['QUERY_STRING'])) {
    $insertGoTo .= (strpos($insertGoTo, '?')) ? "&" : "?";
    $insertGoTo .= $_SERVER['QUERY_STRING'];
  header(sprintf("Location: %s", $insertGoTo));
Can you offer any other help?

Similar Messages

  • Spry Validation For PHP Form

    Hello All,
    I am currently using the Spry Validation within Dreamweaver 5.1.1 and it was working in my development environment until yesterday. I did not change directories so I believe it is not an issue with my file structure.  Below you will see my baic form set up and for some reason, when I load my page, all of the spry error messages are visable. Previously, the page would load and it would not appear until there was an error after submitting the page.  Maybe I'm missing something but an extra pair of eyes does not hurt.  The ".textfieldRequiredMsg" class displays automatically when it is set in the css file to "display: none:".
    I'm stumped:
    <meta http-equiv="X-UA-Compatible" content="IE=100"> <!-- IE fights me on forms -->
    <title>Company Name</title>
    <link rel="stylesheet" href="css/style.css" media="screen">
    <!--[if IE]>
    <link rel="stylesheet" href="css/ie.css" media="screen"?
    <![endif] -->
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script>
    <script src="js/jquery.placeholder.js"></script>
    <script src="SpryAssets/SpryValidationTextField.js" type="text/javascript"></script>
    <link href="SpryAssets/SpryValidationTextField.css" rel="stylesheet" type="text/css">
    </head>
    <body>
    <form action="calltoaction/contact.php" id="contact" style="margin-top: -20px;" method="post" name="contact">
                      <div class="row">
                            <div class="left"><span id="sprytextfield1">
                            <input id="name" placeholder="Name" type="text" name="Name" autofocus required>
                            <span class="textfieldRequiredMsg">A value is required.</span></span></div>  
                             <div class="left">
                               <input id="pharmacyname" placeholder="Pharmacy Name" type="text" name="BusinessName" required>
                            </div>               
                       </div>
              <div class="row">
              <div class="left">
                <input id="telephone" placeholder="Please provide your contact number" name="Phone" required>
               </div>
              <div class="left">
              <input id="email" placeholder="Email Address" name="Email" required>
             </div>
              </div>
              <div class="row">
                            <div class="left">
                                <div class="styledselect">
                                  <select style="width:400px; color: #898888; height: 42px;" tabindex="2" name="Subject" id="Subject">
                                    <option value="select">What can we help you with? Click to select an option.</option>
                                    <option value="website comments">New Website Comments</option>
                                    <option value="ordering">Ordering</option>
                                    <option value="order status">Order Status</option>
                                    <option value="csos">CSOS Setup</option>
                                    <option value="payments credits">Payments &amp; Credits</option>
                                    <option value="contact account manager">Contact My Account Manager</option>
                                    <option value="email list">Join Email List</option>
                                    <option value="monthly newsletter">Sign Up For Monthly Newsletter</option>
                                    <option value="rewards">Auburn REWARDS Free Goods</option>
                                    <option value="reset password">Reset User ID/Password</option>
                                    <option value="questions">Questions</option>
                                    <option value="suggestions">Suggestions</option>
                                    <option value="other">Other (Please Specify)</option>
                                  </select>
                                </div>
                                <!-- end select style-->
                </div>
              </div>
              <div class="commentbox">
                                  <div class="left">
                                    <textarea id="styled" placeholder="Please type your message here" name="Comments" required></textarea>
                                     </div>
              </div>
              <div class="row">
                                  <div class="left">
                                  <input type="image" src="images/contact_submit.png" name="submit" width="85" height="38" id="submitbutton">
                </div>
              </div>
                       <div class="row">
                        <div class="left required"><em>*All fields are required.</em></div>
              </div>
            </form>
    <script>
    var sprytextfield1 = new Spry.Widget.ValidationTextField("sprytextfield1", "none", {validateOn:["change"]});
    </script>
    </body>
    </html>

    That's what is driving me crazy. The code appears correctly.  The DOCTYPE is:
    <!DOCTYPE HTML>
    I've attached a screenshot of the page once it loads without submitting the actual form and the spry settings in Dreamweaver.
    Thanks!

  • Is there a good EASY RSS app for Maverick

    I use RSS feeds a lot and since Maverick update, have not found a good app.  I really miss that Maverick does not allow RSS receipts in mail.

    There are numerous RSS applications in the App Store. Go shopping. You can also search on MacUpdate.

  • Protecting web forms without CAPTCHA or PHP ?

    Hello,
    What I would like to do is come up with a basic, simple process to validate webforms without CAPTCHA or PHP.  My server does not allow PHP.
    Ultimately, I would like to be able to display a graphic on the screen, and force the user to enter the numbers/text from the graphic into a field on the form.  I would like to validate that field to be sure that the proper numbers/text have been entered.  It can be static - I will change it every few months.
    I thought I was on the right track, using an OnClick for Validate Form for my Submit button.  I marked a field (called "Access Code") required, then i marked that it must be a number between 5 and 6.  Now what happens when I run the form is that I get an error message before I can even enter any text into that field or click the Submit button.  It says "The following error(s) occurred.  -Access Code is required."  I can't get my mouse to click into that field, or get my mouse past that field to click the Submit button.  This error message completely stops me.
    Any ideas, thoughts, advice, etc. would be appreciated.
    Thank you !

    The comparison will actually be done in your processing script (The action part of the form). This will have to be php, asp or something similar, but the form page can be html.
    Here is an example form of how I did this, I used a gif file with distored text the shows "mYv6l1date" in the graphic named verifygif.gif in the form below.
    <form id="ContactUs" name="ContactUs" method="post" action="/scripts/processScript.php">
          <p style="color: #C30;">Name (required)<br />
            <input type="text" name="Name" id="Name" abindex="1" border="0"/>
            <br />
    Member Number No. <br />
    <input type="text" name="MemNo" id="MemNo" abindex="2"/>
            <br />
            Email<br />
          <input type="text" name="Email" id="Email" abindex="3"/>
          <br />
          Retype Email <br />
          <input type="text" name="vEmail" id="vEmail" abindex="4"/>
          <br />
          Phone Number<br />
          <input type="text" name="phone" id="phone" abindex="5"/>
          <br />
          Ask us a question or tell us what information you are needing.<br />
          <textarea name="comments" id="comments" cols="60" rows="10" abindex="6"></textarea>
          </p>
          <p><img src="/images/verifygif.gif" alt="" width="126" height="54" border="1" /><br />
          </p>
          <p>Verification</p>
          <p>
            <input type="text" name="verify" id="verify" abindex=7" />
    verify  letters and number above,  must match upper and lower case.<br />
          </p><input type="hidden" name="vverify" value="mYv6l1date" />
          <p>
            <input type="submit" name="Submit" id="Submit" value="Submit" abindex="8"/>
          </p>
        </form>
    Jim

  • My mail forms created by muse 2014.0.1.30 do not work. PHP 5.4 is enabled by hoster, so they should work. Can anyone help me, for these forms are crucial for my business.

    My mail forms created by muse 2014.0.1.30 do not work. PHP 5.4 is enabled by my hoster, so they should work. Can anyone help me, for these forms are crucial for my business. The forms confirm delivery, but the mails are not recieved. No spam filters enabled.
    Meanwhile, I was able to narrow the problem down: PHP seems not to accept a re-directed mail address as sender of the mail in some cases. So, it has nothing to do with the mail form itself.

    Hi Ingo,
    Please refer to this document, Troubleshooting Muse Form Widgets Used on Third-Party Servers
    Last section, "I've uploaded my new Muse form, and tried submitting it in the browser, but I never receive an email with the form data. What's wrong?"
    - Abhishek Maurya

  • Php form for unix server

    Hellow to everybody i would like to know, witch files or
    carpets do i need
    to have
    on a server unix to run a php form (method post, get).
    I mean if a need to create a carpet example "cgi-bin", or if
    a need
    any archive similar "formail.pl" or what else,
    thanks to anyone who can help me.
    David

    Have you ever work with a data-driven website in the past? If
    so, what is specific data-driven app did you work with?
    To get PHP working on your local machine, you need to install
    PHP, MySQL and Apache web server all together. It is ideally
    designed for local testing with your data-driven websites right
    there on your local machine... once it is achieved, then, of course
    you could upload the finished data-driven website over to your web
    server for general public use or specific audience.
    TO make this work, I suggest that you want to consider this
    book called, "PHP for Dreamweaver 8," who authored by David Powers.
    It is an excellent, excellent book. It covers many topics ranging
    from setting up PHP, MySQL and Apache web servers and few other
    important issues associated with installation of these apps on your
    local machine (whether it is Windows XP-based or Macs), other
    topics included how to build, develop and work with data-driven
    websites and realize important issues that arise under those topics
    discussed by the author.
    As for installation of opensource applications (PHP, MySQL,
    and Apache), it is a bit complicated, heavy-hand in order to make
    it work. That is why I am recommending you to get this book.
    I am curious, what Dreamweaver version you are working with?
    And what system architecture?

  • Looking for good easy to use inexpensive tuner

    Hi,
    I am looking for a good, easy to use, inexpensive tuner. Not one you use in a rack or on a pedal, but one you use on the computer. I looked and there are a ton out there so I figured I would look for recommendations here.
    I do not like the way GBs works. It fluctuates too much as the note decays and drives me nuts. I want a simple one, that works great. (If it has a feature that helps in tuning a 12 string, than thats a plus, but not a deal breaker). Simple and accurate is most important.
    Lastly I noticed some they sell are AU and some are stand alone. Is one better than the other?
    Thanks,
    Paul

    Strangedogs,
    Thanks for the link but if you read the review of it on the site, it is terrible. The users on VT hated it. It got 1 star out of 5. I was looking for a recommendation of one that someone has actually "used" themselves and likes it from experience using it.
    There was a link that someone posted there for a free tuner from emagic that they said is great, but all the links I found with google run to a dead end unfortunately.
    Paul
    BTW: boy do those 12 strings take forever to tune. I was jamming with a friend over new years weekend and it took him forever to tune up, (and he has an excellent ear).

  • Good morning everyone! I would like to ask how can i subscribe for adobe forms central 11.99$ per month. I am currently here in United Arab Emirates. I really need to use this application cause it will benefit me a lot in my work. Thanks!

    Good morning everyone! I would like to ask how can i subscribe for adobe forms central 11.99$ per month. I am currently here in United Arab Emirates. I really need to use this application cause it will benefit me a lot in my work. Thanks!

    Hi,
    OK. Following instructions, I've uninstalled the old Flash Player and installed the right one, and videos are now playing. Thanks for pointing me to the other posts on this site. YouTube and other videos are now playing
    Some of the videos still play jerkily (they don't stream evenly). A few stream evenly once they've been allowed to buffer fully. (I think I'm using these terrms correctly.) Is this solely caused by low bandwidth, or is there something—an adjustment of some kind—that I can do with Flash Player to have online videos stream evenly, even from the moment I start them?
    As I mentioned, to bypass this uneven streaming while watching online, I download the videos and watch them usually using Quicktime Player 7.6.4. Still, they don't always play evenly, but for the most part do.
    I've just tested bandwidth and I'm told:
    5.63 Bbps Download speed
    0.63 Mbps Upload speep
    Rafael

  • I am thinking of buying a iPad but my main desktop machine uses Windows 7 and MS Office.  How easy or difficult is it to transfer data files between the iPad and Windows?  Are there obvious problems or the need for some form of conversion programs?

    I am thinking of buying a iPad but my main desktop machine uses Windows 7 and MS Office.  How easy or difficult is it to transfer data files between the iPad and Windows?  Are there obvious problems or the need for some form of conversion programs?
    Many thanks for any advice.
    David

    You don't need conversion programs, iTunes can copy most of your content over to the iPad via the file sharing section, and some apps also support Dropbox, email attachments, transfer via your wifi network. There are a number of apps that you can get that support Microsoft office file (microsoft don't make an app versions of their software) e.g. from Apple there are Pages (word support), Numbers (excel) and Keynote (powerpoint), and from third-parties there are apps such as Documents To Go and QuickOffice HD

  • Lookin' for good, easy and free FTP program. Can you help?

    I could go searching for a good FTP program on Google but, I thought I just might ask here for people's experience when it comes to FTP programs for Mac.
    I wonder if there is any good, easy and free FTP program out there I should go for?
    I would really appreciate if you would give me the name and address of the program you recommend.
    Thank you for your time.
    Signed,
    D.J.
    white MacBook 1.83GHz, 1GB RAM, 80GB HD'   Mac OS X (10.4.8)   My MacBook works perfect, never been a problem.

    D.J.
    The only free FTP program for the Mac that I know of is Cyberduck, you can download it at http://cyberduck.ch/. I have used it and it works great. Fetch is probably the program that most Mac users are using for FTP uploads, but I think it costs around $15.00 after the demo period. Give them both a try and see witch one you like best.

  • PHP form/Captcha alternative

    I have a php form that works fine. In part: <form method="post" action="sendmail.php">
    Now, to add some security to it I created a required field: What is 6 plus 6? A bot can't fill in 12, right? So then the form doesn't go to the sendmail.php file. Is there some reason this won't work? It seems so absurdly simple.

    So then the form doesn't go to the sendmail.php file. Is there some reason this won't work? It seems so absurdly simple.
    Hard to comment without seeing the code.
    Please paste the entire page code (HTML and PHP) here so we can see how it's coded..

  • PHP Form Mail Scripts

    What is a good resource for pre-made PHP Form Mailer Scripts.
    This is for use with a website hosted on GoDaddy.
    My client has a few requirements that the GoDaddy script does
    not offer (and the script I chose from GoDaddy is uneditable). I
    know nothing about scripting but thought I could use a pre-made
    script and modify it...is that crazy thinking on my part?
    Here are the special requests from my client:
    - They'd like to see the time the form was submitted in EST
    (the GoDaddy script puts the time in military time in another time
    zone in the subject line). Can this appear in the body of the email
    as well as the subject line?
    - They'd like the form to be sent to the person submitting it
    as well as to their company
    - They would like to be able to REPLY TO the email they
    receive with the form submission and have it be addressed to the
    person submitting the form. The current script has the email
    addressed to themselves (the company) if they click REPLY TO, so
    they are replying to themselves
    - Although this has nothing to do with the Form Mailer script
    as far as I can guess, they asked that the person filling out the
    form be able to print it prior to submitting (in my opinion,
    though, if i can have a copy of the submission sent to the
    submitter, there's no reason for this). But if anyone knows how to
    do this, please let me know.
    - Finally, the client wants to know if each submission can
    have a unique tracking number assigned to it.
    Thank you all. Any feedback is appreciated.
    Richard

    Hi,
    I can without any doubt recommend Forms 2 Go:
    http://www.bebosoft.com/products/formstogo/index.php
    Very easy to use and even someone like me who don't know a
    lot of
    programming, use it extensively.
    Deon
    "RichyZee" <[email protected]> wrote in
    news:gcvkac$fcp$[email protected]:
    > What is a good resource for pre-made PHP Form Mailer
    Scripts. This is
    > for use with a website hosted on GoDaddy.
    >
    > My client has a few requirements that the GoDaddy script
    does not
    > offer (and
    > the script I chose from GoDaddy is uneditable). I know
    nothing about
    > scripting but thought I could use a pre-made script and
    modify it...is
    > that crazy thinking on my part?
    >
    > Here are the special requests from my client:
    >
    > - They'd like to see the time the form was submitted in
    EST (the
    > GoDaddy
    > script puts the time in military time in another time
    zone in the
    > subject line). Can this appear in the body of the email
    as well as the
    > subject line?
    >
    > - They'd like the form to be sent to the person
    submitting it as well
    > as to
    > their company
    >
    > - They would like to be able to REPLY TO the email they
    receive with
    > the form
    > submission and have it be addressed to the person
    submitting the form.
    > The current script has the email addressed to themselves
    (the company)
    > if they click REPLY TO, so they are replying to
    themselves
    >
    > - Although this has nothing to do with the Form Mailer
    script as far
    > as I can
    > guess, they asked that the person filling out the form
    be able to
    > print it prior to submitting (in my opinion, though, if
    i can have a
    > copy of the submission sent to the submitter, there's no
    reason for
    > this). But if anyone knows how to do this, please let me
    know.
    >
    > - Finally, the client wants to know if each submission
    can have a
    > unique
    > tracking number assigned to it.
    >
    > Thank you all. Any feedback is appreciated.
    >
    > Richard
    >
    >

  • PHP Form - Required Fields

    I've got my form working great thanks to Joe and David (and
    others) in
    this group.
    I want to take it a step further by requiring three fields to
    be filled
    out. So I found this code to use in my thankyou2.php page:
    if (!($frmName && $frmemail && $frmphone))
    {echo "You must complete the
    form to send it"; } else {
    I *thought* that if I used it prior to the code that
    processes the rest
    of the page, and sends the admin e-mail, all would be swell.
    However,
    all I get is a blank page.
    I'm almost thinking now that maybe the code needs to go on my
    contact.php page rather than the thankyou.php page? That way,
    the error
    message could appear right on the contact page itself?
    I'm fairly new to this PHP stuff, so go easy
    www.paramount-const.com/contact.txt
    www.paramount-const.com/thankyou2.txt
    Dave

    sorry:
    header('Location:thankyoupage.php'.?name=$_POST['name']);
    should read:
    header('Location:thankyoupage.php?name='.$_POST['name']);
    i misplaced the dot and quote...
    (_seb_) wrote:
    > Dave Anderson wrote:
    >
    >> Shane H wrote:
    >>
    >>>
    http://www.geekministry.com/blog_article.php?id=40
    >>>
    >>> Kim provides an easy way to validate the form
    and also a field for
    >>> stopping spam (I use it on my website, works
    very well!) - all in PHP.
    >>>
    >>
    >>
    >> Shane, good catch! Here method is so simple...
    >>
    >> I installed it, but have a few PHP questions.
    >>
    >> Source:
    >> www.paramount-const.com/html/contact2.txt
    >> www.paramount-const.com/html/thankyou2.txt
    >>
    >> Live form:
    >>
    http://www.paramount-const.com/html/contact.php
    >>
    >> 1) Biggest issue:
    >> If the form is incorrectly filled out, the error
    messages are
    >> displayed at the top of the page. I'm not clever
    enough to figure out
    >> how to display the error message in the fieldset. I
    tried putting the
    >> php block of code in the fieldset, but it doesn't
    seem to matter.
    >> Maybe I can position it with CSS? or is there a
    different way?
    >>
    >> 2) Nice to do but not imperative:
    >> If the form is filled out properly, it redirects to
    my thankyou page.
    >> I would like to personalize the thank you if
    possible. I know there's
    >> a way to customize that page with a name variable,
    but I can't get it
    >> to work. I think what's happening is that I need to
    somehow pass a
    >> variable from the contact page to the thankyou page.
    I have this at
    >> the moment in my thankyou page:
    >>
    >> <?php echo 'Thank you,
    '.htmlentities($_POST['name']).'.'; ?>
    >>
    >> Thanks.
    >>
    >> Dave
    >
    >
    > when you click on the submit button of the form,
    basically the page
    > reloads, this time with all the info from the form, as
    $_POST info.
    > If all this info is correct, you redirect to the thank
    you page.
    > You need to pass some of the info to the thank you page
    (for example to
    > echo the name of the person who just applied).
    > SO, when the form is published and the page reloads, you
    need to store
    > this info, and pass it to the thankyou page.
    >
    > here's we go, scematically:
    >
    > <?php
    > if [form submitted]...
    > $name = [submitted name from form field];
    > [if everything in the form is correct and we redirect to
    thankyou
    > page:]
    >
    header('Location:thankyoupage.php'.?name=$_POST['name']);
    > }
    > ?>
    >
    > Then in thankyou page,
    >
    > $name = $_GET['name'];
    > echo $name;
    >
    >
    seb ( [email protected])
    http://webtrans1.com | high-end web
    design
    Downloads: Slide Show, Directory Browser, Mailing List

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

    Hi guys,
    I'm having a nightmare with this PHP form where a user can fill it in, attach a doc/pdf and submit. After trying to sort it out with previous code I've used, I've stripped it out and think I should just start again in the hope you geniuses can help!
    Here is the HTML of 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>
    By the way, the date boxes work so excuse the Javascript in there!
    To prevent SPAM I've used a trick where there's a hidden URL field which must be left blank for the form to submit which you can see in the PHP.
    Below is where I'm at with the PHP which is placed above the header 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 pretty much all the field compulsory so if a field is left empty (other than the hidden URL field), a warning message is displayed next to that field.
    Also I would like the file upload field to attach to the email that is sent to me and have the results come through to me in a table format.
    Can anyone help me get my form working?
    Thank you and I hope to hear from you!
    SM

    Hi Nancy,
    Great stuff, thank you for the reply.
    I've managed to get the Formm@iler working and running as I need it to.
    The only thing I'm struggling with is when the user clicks submit, they are taken to a page of whatever results the form returned but it is just a white background with Times New Roman text.
    How can I have it so the user is taken to the form results in the websites' page layout?
    I tried sending them to a generic 'thank you' page by adding the following code but it just took them there whatever the results of the form so that's no good...! I have a feeling it's a bit more complicated than that...
    header( 'Location: http://www.nofussbus.co.uk/test/sent.php' );
    Thank you for your help!

  • Where is Flash builder 4.6 for php ?

    Hello,
    I found flash builder 4.5 for php and flash builder 4.6, where is flash builder 4.6 for php ?

    Is it really that difficult to add Flash Builder 4.6 as a plugin to Zend Studio?  I did that for a long time prior to Flash Builder 4.5 for PHP, which is essentially the same thing.  It really doesn't take a rocket scientist.  =/
    On that note, if you own Flash Builder 4.6 and don't feel like shelling out the extra money for Zend Studio or waiting for Flash Builder 4.6 for PHP, then it's really as simple as adding Flash Builder as a plugin to Ecliplse for PHP using PDT.  Also, doesn't take a rocket scientist.  Personally, I don't see the big deal myself.  I don't even bother with using Zend Studio anymore and prefer to use Komodo Edit since it's autocomplete features are awesome and it's very quick at auto complete by simply adding a folder for your favorite PHP apps from different frameworks to different content management systems.  Furthermore, there is still support in Flash Builder 4.6 to connect to a PHP data service if you really just want to create some automated code.  Ultimately though, I don't understand why anyone would use amf.ini or the default options in production.
    Rather than pointing to the default endpoint, if you're using a framework in the first place, it makes a lot more sense to setup a service controller and have the endpoint point to that such as index.php/services/amf (or if you're like me and prefer cleaner url's modify .htaccess to remove index.php).  The bottom line is there really was nothing great about Flash Builder 4.5 for PHP.  Alot of things were broken for one and it was far easier to use the datawizard which still exists for testing purposes.
    After that, you should be focusing on deploying the applicaiton for production, and adjusting the settings in the Zend Framework to create a new project the correct way, dumping your HTML file to a view along with the swf file, and it may be a good idea to point the HTML file to swfobject on the Google Ajax Libraries page.  Everything else is a cakewalk.
    In other news, if you'd like a ligher footprint than using the entire Zend Framework, why not use something like CodeIgniter and create the necesssary hooks to use Zend AMF?

Maybe you are looking for

  • "the activex control for flash player could not be registered" - Solutions Roundup

    I recently ran into this problem on my computer: http://at32.s3.amazonaws.com/flash_install_problems2.jpg I am a Flash developer (as in I write SWFs, I don't work for Adobe).  and when I updated IE to 10.2, "the activex control for flash player could

  • Problem opening file in application server received by FTP.

    Hi, I am using FTP_COPY to receive file in application server. I am receiving file from FTP but I am unable to open them because the mode was set as 640 as in attributes. Could you please help me in how to receive in readable format... Any suggestion

  • App Won't Install

    Hello, all. Intro: I am a bit new to Macs, but came from the world of building PCs from scratch and being my family's 24/7 tech support (so I know about the techno-interwebz). Now I have a new iMac... and a question. I am attempting to install an app

  • Micrologix 1400 communication

    I have an Allen Bradley Micrologix 1400 PLC and Lookout 5.1.  I'm new to Lookout.  How do I establish ethernet comms?  Is RSLinx Lite sufficient?  And is that all I need, or do I need anything else in addition to the Lookout software?  Any help would

  • Creative Cloud for team trial and ask for serial no.

    All the seats are already User. But when I downloaded program from Download center or Adobe Application Manager, Programs are show as Trail products and there is 30days countdown. Anyone please helps and thanks for advised.