grazie ma il codice è questo non c'è lo slash
perchè risulta sempre con lo slash??
sto facendo un semplice redirect con parametri
come si fa un redirect in php???
così mi da sempre errore
Not Found
Codice PHP:
if (!validEmail($Email))
{
$what3 = "http://www.miosito.it/contacts.php?msg=the email is incorrect&name=".$_REQUEST['Name']."&company=".$_REQUEST['Company']."&email=".$_REQUEST['Email']."&phone=".$_REQUEST['Phone']."&country=".$_REQUEST['Country']."¬es=".$_POST['Notes'];
$what3 = trim($what3);
$what3 = rawurlencode($what3);
header("Location: $what3");
}else{
$what2 = "http://www.miosito.it/contacts.php?msg=Please fill the mandatory fields, thank you&name=".$_REQUEST['Name']."&company=".$_REQUEST['Company']."&email=".$_REQUEST['Email']."&phone=".$_REQUEST['Phone']."&country=".$_REQUEST['Country']."¬es=".$_POST['Notes'];
$what2 = trim($what2);
$what2 = rawurlencode($what2);
header("Location: $what2");
}