Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- error_reporting(E_ALL);
- @extract($_POST);
- $require = "name,email,mobile,mensaje";
- $name = stripslashes($name);
- $email = stripslashes($email);
- $mobile = stripslashes($mobile);
- $mensaje = stripslashes($mensaje);
- $adminaddress = "cotizaciones@aeroviajespacifico.com, comercial1@aeroviajespacifico.com";
- $siteaddress ="http://www.aeroviajespacifico.co/";
- $sitename = "AeroViajesPacifico";
- $date = date("m/d/Y H:i:s");
- if ($REMOTE_ADDR == "") $ip = "no ip";
- else $ip = getHostByAddr($REMOTE_ADDR);
- $dcheck = explode(",",$require);
- while(list($check) = each($dcheck)) {
- if(!$$dcheck[$check]) {
- $error .= "Falta $dcheck[$check]<BR>";
- }
- }
- if($error) {
- echo "funciono";
- }else{
- echo "no funciono";
- }
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement