/* ########################## Contact Form 1.4 ######################### ### |-----------------------------------------------------------| ### ### | WRITTEN 2006 by planetluc.com c/o Lukas Stalder | ### ### | THIS SMALL SCRIPT IS FREE AND MAY BE REDISTRIBUTED | ### ### |-----------------------------------------------------------| ### ##################################################################### */ // http://www.planetluc.com/en/scripts_contactform.php // Validaciones // http://www.desarrolloweb.com/scripts/php/validacion-php.php // Portales // http://www.desarrolloweb.com/scripts/php/sistemas-portal-php.php /* // ################ INSTALLATION ################# 1. open the .php file where you want to have the contact form in. 2. paste this whole code in there 3. adapt values in the config section below to your needs. 4. upload the file - that's it! // ############## END INSTALLATION ############### */ // ################### CONFIG ################### error_reporting(0); // CSS classes & styles $classError = "error"; // class for error messages below input fields $classTxt = "text"; // class for field caption cell $classField = "field"; // class for input/textarea field cell $classInputbutton = "inputButton"; // class for submit button $classInputline = "inputLine"; // class for input lines $classInputfield = "inputField"; // class for textareas $styleInputline = "width:300px;"; // add. styles for input lines $styleInputfield = "width:300px; height:60px;"; // add. styles for textareas $styleInputbutton = "width:300px;"; // add. styles for submit button $styleInputradio = "vertical-align:middle;"; // add. styles for radio input fields $styleInputselect = "width:300px;"; // email $a_Address = "cifuentesv2000@yahoo.com"; $b_Address = "r.cifuentes@olca.cl"; $c_Address = "rcifuentesv@gmail.com"; $emailSubject = "Mensaje a rcci"; // misc text $txtSend = "Enviar"; $txtMandatory = "obligatorio"; $msgDate = "Fecha"; $dateFormat = "d. M Y, H:i"; $txtRemainingChars = "Caracteres restantes:"; // indent for field values in email message $msgIndent = 15; // errors (above/below the field) $posError = "above"; //thank you messages $txtThankyou = "
$message"; echo $txtThankyou; } } if ($error!==false){ $html = ""; // draw form // $html .= "\n\n \n\n"; $html .= "\n\n \n\n"; $html .= "