buah, llevo desde mi ultimo mensaje probándolo y no hay manera, leyendo por ahí me dicen que ese código no se puede copiar y pegar, que se tiene que hacer un embed.... ¿se os ocurre algo?.
He intentado mezclar phps pero no funciona...
Código PHP:
<?php
if(isset($_POST['submit']))
{
if(empty($_SESSION['6_letters_code'] ) ||
strcasecmp($_SESSION['6_letters_code'], $_POST['6_letters_code']) != 0)
{
//Note: the captcha code is compared case insensitively.
//if you want case sensitive match, update the check above to
// strcmp()
$errors .= "\n The captcha code does not match!";
}
if(empty($errors))
{
$where_form_is="http://".$_SERVER['SERVER_NAME'].strrev(strstr(strrev($_SERVER['PHP_SELF']),"/"));
mail("[email protected]","Day Tours Barcelona Contact & Booking","Form data:
· Contact name:: " . $_POST['field_1'] . "
· Phone number:: " . $_POST['field_2'] . "
· Email:: " . $_POST['field_3'] . "
· Numer of people: " . $_POST['field_4'] . "
· Kind of service: : " . $_POST['field_5'] . "
· Hour of pick up:: " . $_POST['field_6'] . "
· Place of pick up:: " . $_POST['field_7'] . "
· Explain your needs: : " . $_POST['field_8'] . "
");
include("confirm.html");