Who can help me with this form?

Having some problems with the form ive placed on my site.
I cant find the problem. Is there someone who can tell me what i have done wrong.
you can see the form on.
http://www.salontouche.nl/explorers.htm
and the error i get is..
Oops! This page appears broken. DNS Error - Server cannot be found.
hope to get some advice..
this is the contactscript..
<?php error_reporting(0);
    // VALUES FROM THE FORM
    $name        = $_POST['name'];
    $email        = $_POST['email'];
    $message    = $_POST['msg'];
    // ERROR & SECURITY CHECKS
    if ( ( !$email ) ||
         ( strlen($_POST['email']) > 200 ) ||
         ( !preg_match("#^[A-Za-z0-9](([_\.\-]?[a-zA-Z0-9]+)*)@([A-Za-z0-9]+)(([\.\-]?[a-zA-Z0-9]+)* )\.([A-Za-z]{2,})$#", $email) )
        print "Error: Invalid E-Mail Address";
        exit;
    if ( ( !$name ) ||
         ( strlen($name) > 100 ) ||
         ( preg_match("/[:=@\<\>]/", $name) )
        print "Error: Invalid Name";
        exit;
    if ( preg_match("#cc:#i", $message, $matches) )
        print "Error: Found Invalid Header Field";
        exit;
    if ( !$message )
        print "Error: No Message";
        exit;
if ( strpos($email,"\r") !== false || strpos($email,"\n") !== false ){ 
        print "Error: Invalid E-Mail Address";
        exit;
    if (FALSE) {
        print "Error: You cannot send to an email address on the same domain.";
        exit;
    // CREATE THE EMAIL
    $headers    = "Content-Type: text/plain; charset=iso-8859-1\n";
    $headers    .= "From: $name <$email>\n";
    $recipient    = "[email protected]";
    $subject    = "Reactie van uw Website";
    $message    = wordwrap($message, 1024);
    // SEND THE EMAIL TO YOU
    mail($recipient, $subject, $message, $headers);
    // REDIRECT TO THE THANKS PAGE
    header("Location: http://www.salontouche.nl/thanks.php");
?>
regards

Having some problems with the form ive placed on my site.
I cant find the problem. Is there someone who can tell me what i have done wrong.
you can see the form on.
http://www.salontouche.nl/explorers.htm
and the error i get is..
Oops! This page appears broken. DNS Error - Server cannot be found.
hope to get some advice..
this is the contactscript..
<?php error_reporting(0);
    // VALUES FROM THE FORM
    $name        = $_POST['name'];
    $email        = $_POST['email'];
    $message    = $_POST['msg'];
    // ERROR & SECURITY CHECKS
    if ( ( !$email ) ||
         ( strlen($_POST['email']) > 200 ) ||
         ( !preg_match("#^[A-Za-z0-9](([_\.\-]?[a-zA-Z0-9]+)*)@([A-Za-z0-9]+)(([\.\-]?[a-zA-Z0-9]+)* )\.([A-Za-z]{2,})$#", $email) )
        print "Error: Invalid E-Mail Address";
        exit;
    if ( ( !$name ) ||
         ( strlen($name) > 100 ) ||
         ( preg_match("/[:=@\<\>]/", $name) )
        print "Error: Invalid Name";
        exit;
    if ( preg_match("#cc:#i", $message, $matches) )
        print "Error: Found Invalid Header Field";
        exit;
    if ( !$message )
        print "Error: No Message";
        exit;
if ( strpos($email,"\r") !== false || strpos($email,"\n") !== false ){ 
        print "Error: Invalid E-Mail Address";
        exit;
    if (FALSE) {
        print "Error: You cannot send to an email address on the same domain.";
        exit;
    // CREATE THE EMAIL
    $headers    = "Content-Type: text/plain; charset=iso-8859-1\n";
    $headers    .= "From: $name <$email>\n";
    $recipient    = "[email protected]";
    $subject    = "Reactie van uw Website";
    $message    = wordwrap($message, 1024);
    // SEND THE EMAIL TO YOU
    mail($recipient, $subject, $message, $headers);
    // REDIRECT TO THE THANKS PAGE
    header("Location: http://www.salontouche.nl/thanks.php");
?>
regards

Similar Messages

  • I will pay for who can help me with this applet

    Hi!, sorry for my english, im spanish.
    I have a big problem with an applet:
    I�ve make an applet that sends files to a FTP Server with a progress bar.
    Its works fine on my IDE (JBuilder 9), but when I load into Internet Explorer (signed applet) it crash. The applet seems like blocked: it show the screen of java loading and dont show the progress bar, but it send the archives to the FTP server while shows the java loading screen.
    I will pay with a domain or with paypal to anyone who can help me with this problematic applet. I will give my code and the goal is only repair the applet. Only that.
    My email: [email protected]
    thanks in advance.
    adios!

    thaks for yours anwswers..
    harmmeijer: the applet is signed ok, I dont think that is the problem...
    itchyscratchy: the server calls are made from start() method. The applet is crashed during its sending files to FTP server, when finish, the applet look ok.
    The class I use is FtpBean: http://www.geocities.com/SiliconValley/Code/9129/javabean/ftpbean/
    (I test too with apache commons-net, and the same effect...)
    The ftp is Filezilla in localhost.
    This is the code, I explain a little:
    The start() method calls iniciar() method where its is defined the array of files to upload, and connect to ftp server. The for loop on every element of array and uploads a file on subirFichero() method.
    Basicaly its this.
    The HTML code is:
    <applet
           codebase = "."
           code     = "revelado.Upload.class"
           archive  = "revelado.jar"
           name     = "Revelado"
           width    = "750"
           height   = "415"
           hspace   = "0"
           vspace   = "0"
           align    = "middle"
         >
         <PARAM NAME="usern" VALUE="username">
         </applet>
    package revelado;
    import java.awt.*;
    import java.awt.event.*;
    import java.applet.*;
    import javax.swing.*;
    import java.io.*;
    import javax.swing.border.*;
    import java.net.*;
    import ftp.*;
    public class Upload
        extends Applet {
      private boolean isStandalone = false;
      JPanel jPanel1 = new JPanel();
      JLabel jLabel1 = new JLabel();
      JLabel jlmensaje = new JLabel();
      JLabel jlarchivo = new JLabel();
      TitledBorder titledBorder1;
      TitledBorder titledBorder2;
      //mis variables
      String DIRECTORIOHOME = System.getProperty("user.home");
      String[] fotos_sel = new String[1000]; //array of selected images
      int[] indice_tamano = new int[1000]; //array of sizes
      int[] indice_cantidad = new int[1000]; //array of quantitys
      int num_fotos_sel = 0; //number of selected images
      double importe = 0; //total prize
      double[] precios_tam = {
          0.12, 0.39, 0.60, 1.50};
      //prizes
      String server = "localhost";
      String username = "pepe";
      String password = "pepe01";
      String nombreusuario = null;
      JProgressBar jProgreso = new JProgressBar();
      //Obtener el valor de un par�metro
      public String getParameter(String key, String def) {
        return isStandalone ? System.getProperty(key, def) :
            (getParameter(key) != null ? getParameter(key) : def);
      //Construir el applet
      public Upload() {
      //Inicializar el applet
      public void init() {
        try {
          jbInit();
        catch (Exception e) {
          e.printStackTrace();
      //Inicializaci�n de componentes
      private void jbInit() throws Exception {
        titledBorder1 = new TitledBorder("");
        titledBorder2 = new TitledBorder("");
        this.setLayout(null);
        jPanel1.setBackground(Color.lightGray);
        jPanel1.setBorder(BorderFactory.createEtchedBorder());
        jPanel1.setBounds(new Rectangle(113, 70, 541, 151));
        jPanel1.setLayout(null);
        jLabel1.setFont(new java.awt.Font("Dialog", 1, 16));
        jLabel1.setText("Subiendo archivos al servidor");
        jLabel1.setBounds(new Rectangle(150, 26, 242, 15));
        jlmensaje.setFont(new java.awt.Font("Dialog", 0, 10));
        jlmensaje.setForeground(Color.red);
        jlmensaje.setHorizontalAlignment(SwingConstants.CENTER);
        jlmensaje.setText(
            "Por favor, no cierre esta ventana hasta que termine de subir todas " +
            "las fotos");
        jlmensaje.setBounds(new Rectangle(59, 49, 422, 30));
        jlarchivo.setBackground(Color.white);
        jlarchivo.setBorder(titledBorder2);
        jlarchivo.setHorizontalAlignment(SwingConstants.CENTER);
        jlarchivo.setBounds(new Rectangle(16, 85, 508, 24));
        jProgreso.setForeground(new Color(49, 226, 197));
        jProgreso.setBounds(new Rectangle(130, 121, 281, 18));
        jPanel1.add(jlmensaje, null);
        jPanel1.add(jlarchivo, null);
        jPanel1.add(jProgreso, null);
        jPanel1.add(jLabel1, null);
        this.add(jPanel1, null);
        nombreusuario = getParameter("usern");
      //Iniciar el applet
      public void start() {
        jlarchivo.setText("Start() method...");
        iniciar();
      public void iniciar() {
        //init images selected array
        fotos_sel[0] = "C:/fotos/05160009.JPG";
        fotos_sel[1] = "C:/fotos/05160010.JPG";
        fotos_sel[2] = "C:/fotos/05160011.JPG";
         // etc...
         num_fotos_sel=3; //number of selected images
        //conectar al ftp (instanciar clase FtpExample)
        FtpExample miftp = new FtpExample();
        miftp.connect();
        //make the directory
         subirpedido(miftp); 
        jProgreso.setMinimum(0);
        jProgreso.setMaximum(num_fotos_sel);
        for (int i = 0; i < num_fotos_sel; i++) {
          jlarchivo.setText(fotos_sel);
    jProgreso.setValue(i);
    subirFichero(miftp, fotos_sel[i]);
    try {
    Thread.sleep(1000);
    catch (InterruptedException ex) {
    //salida(ex.toString());
    jlarchivo.setText("Proceso finalizado correctamente");
    jProgreso.setValue(num_fotos_sel);
    miftp.close();
    //Detener el applet
    public void stop() {
    //Destruir el applet
    public void destroy() {
    //Obtener informaci�n del applet
    public String getAppletInfo() {
    return "Subir ficheros al server";
    //Obtener informaci�n del par�metro
    public String[][] getParameterInfo() {
    return null;
    //sube al ftp (a la carpeta del usuario) el archivo
    //pedido.txt que tiene las lineas del pedido
    public void subirpedido(FtpExample miftp) {
    jlarchivo.setText("Iniciando la conexi�n...");
    //make folder of user
    miftp.directorio("www/usuarios/" + nombreusuario);
    //uploads a file
    public void subirFichero(FtpExample miftp, String nombre) {
    //remote name:
    String nremoto = "";
    int lr = nombre.lastIndexOf("\\");
    if (lr<0){
    lr = nombre.lastIndexOf("/");
    nremoto = nombre.substring(lr + 1);
    String archivoremoto = "www/usuarios/" + nombreusuario + "/" + nremoto;
    //upload file
    miftp.subir(nombre, archivoremoto);
    class FtpExample
    implements FtpObserver {
    FtpBean ftp;
    long num_of_bytes = 0;
    public FtpExample() {
    // Create a new FtpBean object.
    ftp = new FtpBean();
    // Connect to a ftp server.
    public void connect() {
    try {
    ftp.ftpConnect("localhost", "pepe", "pepe01");
    catch (Exception e) {
    System.out.println(e);
    // Close connection
    public void close() {
    try {
    ftp.close();
    catch (Exception e) {
    System.out.println(e);
    // Go to directory pub and list its content.
    public void listDirectory() {
    FtpListResult ftplrs = null;
    try {
    // Go to directory
    ftp.setDirectory("/");
    // Get its directory content.
    ftplrs = ftp.getDirectoryContent();
    catch (Exception e) {
    System.out.println(e);
    // Print out the type and file name of each row.
    while (ftplrs.next()) {
    int type = ftplrs.getType();
    if (type == FtpListResult.DIRECTORY) {
    System.out.print("DIR\t");
    else if (type == FtpListResult.FILE) {
    System.out.print("FILE\t");
    else if (type == FtpListResult.LINK) {
    System.out.print("LINK\t");
    else if (type == FtpListResult.OTHERS) {
    System.out.print("OTHER\t");
    System.out.println(ftplrs.getName());
    // Implemented for FtpObserver interface.
    // To monitor download progress.
    public void byteRead(int bytes) {
    num_of_bytes += bytes;
    System.out.println(num_of_bytes + " of bytes read already.");
    // Needed to implements by FtpObserver interface.
    public void byteWrite(int bytes) {
    //crea un directorio
    public void directorio(String nombre) {
    try {
    ftp.makeDirectory(nombre);
    catch (Exception e) {
    System.out.println(e);
    public void subir(String local, String remoto) {
    try {
    ftp.putBinaryFile(local, remoto);
    catch (Exception e) {
    System.out.println(e);
    // Main
    public static void main(String[] args) {
    FtpExample example = new FtpExample();
    example.connect();
    example.directorio("raul");
    example.listDirectory();
    example.subir("C:/fotos/05160009.JPG", "/raul/foto1.jpg");
    //example.getFile();
    example.close();

  • I need to download ferefox 9.0 but I cannot find it anywhere. Who can help me with this?

    I need to download ferefox 9.0 but I cannot find it anywhere. Who can help me with this?

    Please note that running out of date versions of Firefox is not recommended, as you will open yourself up to known security issues, alongside bugs and other issues. Is there a specific problem you are having with Firefox that I can help you with?
    You can download Firefox 9 at [http://ftp://ftp.mozilla.org/pub/firefox/releases/9.0.1/win32/en-US/ ftp://ftp.mozilla.org/pub/firefox/releases/9.0.1/win32/en-US/]

  • Using Iphoto 11 how do I change filename on photo so when it exports it does so in same sequence as Album created in.  Finder does not have option to keep as is... Thanks to anyone who can help me with this !

    The photos must be viewed in sequence as prepared with the filenames I have chosen to describe them.
    How can I just simply transfer this over to a dvd ?  Any help is appreciated !
    Thank You

    There are two ways to export photos so they remain in the same order as you put them in the iPhoto album:
    A:
    1 -  select the photos in the album and use the Photos ➙ Batch Rename  ➙ Title to Text menu with the option to add a sequential number to the file name.
    2 - Export out of iPhoto via File ➙ Export ➙ File Export with the option File Name = Title.
    B:
    1 - select all of the photos in the album and export via File ➙ Export ➙ File Export with the option File Name = Album name with number. 
    Both method will produce file with the following file name format:  xxxx-01.jpg, xxxx-02.jpg, etc., which will be in the order you had in iPhoto when view alphanumerically in the Finder.
    OT

  • Who can help me with this query???

    I have a table looks like:
    Group_id, Individual_id, field1, field2, field3...
    For individuals in this table who shares the same group id, they have exact same, filed1, 2, 3, 4 but different individual_id.
    How can I comebine them so I can creat a table that looks like:
    group_id, (Individual_id1, individual_id2, 3...), field1, field2, field3....
    Please Help!

    Use the WM_CONCAT function.
    http://www.psoug.org/reference/undocumented.html#uwmc

  • Help needed with this form in DW

    Hi, i have created this form in dreamweaver but ive got this problem.
    In the fields above the text field, the client needs to fill in some info such as name, email telephone number etc.
    But the problem is when ill get the messages. Only the text from the large text field is there.
    What did i do wrong??
    http://www.hureninparamaribo.nl/contact.html
    Thank you
    Anybody??

    Thank you for your response. So what do i have to do to fix this?
    Date: Sun, 20 Jan 2013 07:57:56 -0700
    From: [email protected]
    To: [email protected]
    Subject: Help needed with this form in DW
        Re: Help needed with this form in DW
        created by Ken Binney in Dreamweaver General - View the full discussion
    You have several duplicate "name" attributes in these rows which also appears in the first row
    Telefoon:
    Huurperiode:
    Aantal personen:
         Please note that the Adobe Forums do not accept email attachments. If you want to embed a screen image in your message please visit the thread in the forum to embed the image at http://forums.adobe.com/message/5008247#5008247
         Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page: http://forums.adobe.com/message/5008247#5008247
         To unsubscribe from this thread, please visit the message page at http://forums.adobe.com/message/5008247#5008247. In the Actions box on the right, click the Stop Email Notifications link.
         Start a new discussion in Dreamweaver General by email or at Adobe Community
      For more information about maintaining your forum email notifications please go to http://forums.adobe.com/message/2936746#2936746.

  • Error Message:"Cannot find or create the font 'WP-MathA'. Some characters may not display or print correctly."  Who can help me solve this problem?

    Some of the pdf files I work with (receive) come up with a comment: “Cannot find or create the font ‘WP-MathA’. Some characters may not display or print correctly.”  Who can help me solve this problem?
    Thank you in advance for  your time.
    Marlen

    Hello Anubha,
    I am having a similar problem on my machine.  I was using Word 2008 and I created a PDF inside Word.
    I am opening the file on the system itself and I am running Windows 8.1.  I am using Version 11 of Reader.
    When the PDF I created (my resume) attempts to open, it says:  cannot find or create the file Times, Bold.  Some characters may not display or print correctly. 
    However, the entire Reader keeps freezing and will not allow me to open or test print the document.  Also, it is not displaying any of the Bold Times New Roman Print.  Can you please help?  Thanks.

  • I just buy a imac 27inch when after intalling everthing for windows 7 and all the drivers i need and goes to the restard part my imac just goes to a black screen with a blinking cursel and it just wont proceed anyone can help me with this?

    i just buy a imac 27inch when after intalling everthing for windows 7 and all the drivers i need and goes to the restard part my imac just goes to a black screen with a blinking cursel and it just wont proceed anyone can help me with this?

    Support articles for things like this would be here:
    http://www.apple.com/support/bootcamp

  • I want to install xp on my MacBook Pro with i5 processor, but that creates the partition and restart the computer just stays in the following message: The Setup is inspecting your hardware configuration of your computer, someone can help me with this ?

    I want to install xp on my MacBook Pro with i5 processor, but that creates the partition and restart the computer just stays in the following message: The Setup is inspecting your hardware configuration of your computer, someone can help me with this ?

    The answer has not changed since your last post here https://discussions.apple.com/thread/3230576?tstart=0
    There are no XP or Vista drivers for the new Apple computer hardware. Apple stopped XP and Vista support. http://support.apple.com/kb/HT4410.

  • My MacBook can find my wifi says it has perfect signal and it's connected. But there is no internet and I've have had this same problem at my house my friends and wifi source I use. Has anyone had this problem or can help me with this thanks

    i have a MacBook pro. I'm trying to connect my Mac through wifi at my house, it shows my router says it's connected with full signal yet I have no internet. So I thought I would try it at my friends house but I had the same problem. the Internet connection and wifi were on, as our iPhones were working through wifi. And my friends Mac works via wifi at my house. Just mine dosnt has anyone had this problem or can help me with this problem thanks.

    Try this.
        Power off the router. Unplug it from the wall. Wait a while.
        Plug it back to the wall. Power the router on. Wait until all the lights are lit properly. It will take a while.
        Restart the computer.
        Start up in Safe Mode.
        http://support.apple.com/kb/PH14204

  • TS3694 I get an error while restoring, error unknown (1015) someone can help me with this problem?

    I get an error while restoring, error unknown (1015) someone can help me with this problem?

    is there a way to restore to the original? it is a fiends I phone and it was jailbroken, and it is giving her many problems, I look over the apple information but there is no steps to follow to fix this. do you have any idea

  • Who can help me with my ORDER?!

    I had made an online order for my iphone 5s on 11/15 online. It showed that will be delivery by 11/19. I  had recived the email with conformation # as quickly, but it always show "being processed, check it back tomorrow" in my order status. I have checked the local store, and they have the device in stock. So, I may want to cancel the order and get it in local store.
    However, I called to the customer serving for all day. They always told me to transfer me to another department. The only time, they said it would not cancelled during the status was being processed and also do a transfer to another deparmenrt. but There is always being No Agents Avilable for each time!!
    The chat live will not help you to do anything, except provide a phone number and let you call them.
    Now, my status still not changing, and I have no idea to who i can communited with this issue.
    Who can help me ?? How can I cancel it or to know anything about my order without only waste time for waiting and calling.

    >Post deleted to remove personal info<
    MODERATOR COMMENT: This is a public peer to peer (customer to customer) Community.
    Please call 800-922-0204 concerning your order
    Sent via the Samsung Galaxy Note® II, an AT&T 4G LTE smartphone
    Message was edited by: Verizon Moderator><

  • Since Ios 7 Update of my iPhone 5 I can not log into any WLAN any more - who can help to solve this major problem

    Hi all,
    I updated my iPhone 5 recently to IOS 7 - Since then I do not get any access to my home WLAN / WIFI with the iphone 5.
    At same time the iphone 3S and IPAD 1 of my wife (both IOS 5.x) still work fine in our homes WLAN / WIFI.
    Who can help to get my Iphone 5 with IOS 7 back to work in the home WIFI ?
    Thanks in advance for any possible solution.
    Best regards
    Dirk from Hamburg Germany

    Try this first.
    On the iPhone go to Settings > General > Reset and select Reset Network Settings.
    This will erase all saved wi-fi networks and settings.
    If no change after this, try resetting your modem and wireless router. Disconnect the router from the power source followed by disconnecting the modem from the power source. Wait a few minutes followed by powering your modem back on allowing it to completely reset before powering your wireless router back on allowing it to completely reset with the modem.

  • Is there really no one who can help me with my question postet 3 days ago!?

    I have a problem with blurry images after publishing -Am I really the only one who thinks this is a big problem -I tried to get some help 3 days ago? Is there other forums that can help me on this topic?
    It looks fine in iweb, but not in the browser after publishing... I'ts only with small logo images with hard graphichs in jpeg, its not my compression, it looks fine before publishing...

    dear wyodor, I thought that I explained my problem all right in my post? well,
    when I put a logo in the corner of my site -in my case a jpg file with some text, it looks good in iweb, but after publishing its not possible to read the small text because of the way iweb compress photos - my question is -can I do anything to keep the jpeg-compression i made i photoshop? Is there no way in iweb to control the compression? Its really frustrating -and the only really problem I have with iweb
    se how my logo looks im my site:
    http://web.mac.com/pierrienevoldsen/24x36.dk/om_24x36.dk.html
    I have the same logo twice now just to check different advises, but still its impossible to read the small lettes -but not in iweb

  • Who can HELP me with an seemingly impossible iTunes dilemma?

    Good day all and greetings from Malta (EU),
    I have what seems to be the need for an "impossible" solution. Let me explain my dilemma.
    I have never wanted to use the new versions of iTunes past 10.7 for ONLY ONE simple reason that the developers of iTunes have decided to eliminate.
    I am a digital dj - I use iTunes as my cataloging system for all the tracks I play. I am the kind of person that likes to prepare as much as possible before I play. Up till 10.7 there was an option to open MULTIPLE playlist windows. This was very important to me because that would mean practically that how ever the mood moved on the dance floor I was able to just choose from the open playlist windows without having to spend needless time searching for them while playing (which can be a big distraction)
    I have recently purchased my FIRST Mac (17" MacbookPro) and I have Yosemite running on it. I have followed tutorials to downgrade iTunes (using Pacifier & AppZapper) to 10.7 in order to get the only one feature I needed but was not available in future upgrades.
    I have a few problems. When I connect my iPhone it is not recognised and when I use the finder window I constantly get error messages popping up.
    So here's the thing. I DON'T mind re-installing the updated version of iTunes to make the OS run properly and to connect my iPhone but I can't do this without the old version as well.
    Is there a way to be able to rename the 10.7 version of iTunes so I can continue using that and it's own library AND also be able to install the latest iTunes so I can eliminate my problems and continue using the 10.7 version. I can point out that the updated version does not need to have the same library... I'd ONLY need that to eliminate the error messages & be able to connect my devices.
    can ANYONE PLEASE PLEASE help me with this dilemma? I searched "high and low" on Google and in the Apple Support Forum but I have failed to find an solution....
    Thanks and I am sooooo looking forward to someone helping me as soon as possible.
    And Happy Holidays EVERYONE!!!
    Chris Brown

    You could repartition your drive to have a different OS X with the older iTunes there, and the newer iTunes on the existing partition. Back up everything beforehand. See Kappy's advice in this thread. Partitioning my Hard Drive

Maybe you are looking for