Robby Naish
21-04-2011, 09:36
Ciao ragazzi,
un mio amico ha un problema semplicissimo, per voi :).... ma lo sta facendo diventare matto
le mail che gli arrivano non riportano quanto viene scritto nei box
della pagina contact
http://www.viaggilusso.com/agenzia/contact.html
lo stesso funziona su un altro server
sicuramente dipende da un php nuova versione, montato sui server di godaddy
cosa deve cambiare?
<form action="http://www.viaggilusso.com/agenzia/buy.php" method=POST>
<table width="100%" align="center" border="0" cellspacing="0"
cellpadding="4">
<tr>
<td width="50%" height="2">Privato o Azienda</td>
<td align="right" width="50%" height="2">
<select name="type">
<option value="select">select</option>
<option value="privato">privato</option>
<option value="azienda">azienda</option>
</select>
</td>
</tr>
<tr>
<td width="50%" height="2">Ragione del contatto </td>
<td align="right" width="50%" height="2">
<input type=text name="date"></td>
</tr>
<tr>
<td width="50%" height="2">Nome</td>
<td align="right" width="50%" height="2">
<input type=text name="name"></td>
</tr>
<tr>
<td width="50%" height="2">Tel.</td>
<td align="right" width="50%" height="2">
<input type=text name="tel"></td>
</tr>
<tr>
<td width="50%" height="2">E-mail</td>
<td align="right" width="50%" height="2">
<input type=text name="email"></td>
</tr>
<tr>
<td width="50%" height="2">Citta'</td>
<td align="right" width="50%" height="2">
<input type=text name="address"></td>
</tr>
<tr>
<td width="50%" height="2">Note aggiuntive </td>
<td align="right" width="50%" height="2"><textarea
name="notes"></textarea></td>
</tr>
<tr>
<td width="50%" height="2"></td>
<td width="50%" height="2" align="right">
<input name="item" type="hidden" value="contact"></td>
</tr>
<tr>
<td height="2"> </td>
<td align="right" height="2"> </td>
</tr>
<tr>
<td height="2">
<input type="submit" name="Submit" value="Invia"></td>
<td align="right" height="2"> </td>
</tr>
<tr>
<td width="50%" height="2"></td>
<td align="right" width="50%" height="2"></td>
</tr>
</table>
</form>
pagina di arrivo, buy.php
nelle email si legge Form viaggi di lusso, category, type, date, etc, ma
non leggo il testo che ho inserito nei boxes
<?php
$Testo = "---- Form Viaggi Lusso ----\n\n";
$Testo .= "Category : ".$HTTP_POST_VARS["category"]."\n";
$Testo .= "Type : ".$HTTP_POST_VARS["type"]."\n";
$Testo .= "Date : ".$HTTP_POST_VARS["date"]."\n";
$Testo .= "Name : ".$HTTP_POST_VARS["name"]."\n";
$Testo .= "Tel : ".$HTTP_POST_VARS["tel"]."\n";
$Testo .= "E-mail : ".$HTTP_POST_VARS["email"]."\n";
$Testo .= "Address : ".$HTTP_POST_VARS["address"]."\n";
$Testo .= "Notes : ".$HTTP_POST_VARS["notes"]."\n";
mail ("roby@romagift.com", "Form Viaggi Lusso ;-)", $Testo, "From:
b2b@romagift.com\n" );
// print($Testo);
?>
Grazie di cuore a tutti
Ale
un mio amico ha un problema semplicissimo, per voi :).... ma lo sta facendo diventare matto
le mail che gli arrivano non riportano quanto viene scritto nei box
della pagina contact
http://www.viaggilusso.com/agenzia/contact.html
lo stesso funziona su un altro server
sicuramente dipende da un php nuova versione, montato sui server di godaddy
cosa deve cambiare?
<form action="http://www.viaggilusso.com/agenzia/buy.php" method=POST>
<table width="100%" align="center" border="0" cellspacing="0"
cellpadding="4">
<tr>
<td width="50%" height="2">Privato o Azienda</td>
<td align="right" width="50%" height="2">
<select name="type">
<option value="select">select</option>
<option value="privato">privato</option>
<option value="azienda">azienda</option>
</select>
</td>
</tr>
<tr>
<td width="50%" height="2">Ragione del contatto </td>
<td align="right" width="50%" height="2">
<input type=text name="date"></td>
</tr>
<tr>
<td width="50%" height="2">Nome</td>
<td align="right" width="50%" height="2">
<input type=text name="name"></td>
</tr>
<tr>
<td width="50%" height="2">Tel.</td>
<td align="right" width="50%" height="2">
<input type=text name="tel"></td>
</tr>
<tr>
<td width="50%" height="2">E-mail</td>
<td align="right" width="50%" height="2">
<input type=text name="email"></td>
</tr>
<tr>
<td width="50%" height="2">Citta'</td>
<td align="right" width="50%" height="2">
<input type=text name="address"></td>
</tr>
<tr>
<td width="50%" height="2">Note aggiuntive </td>
<td align="right" width="50%" height="2"><textarea
name="notes"></textarea></td>
</tr>
<tr>
<td width="50%" height="2"></td>
<td width="50%" height="2" align="right">
<input name="item" type="hidden" value="contact"></td>
</tr>
<tr>
<td height="2"> </td>
<td align="right" height="2"> </td>
</tr>
<tr>
<td height="2">
<input type="submit" name="Submit" value="Invia"></td>
<td align="right" height="2"> </td>
</tr>
<tr>
<td width="50%" height="2"></td>
<td align="right" width="50%" height="2"></td>
</tr>
</table>
</form>
pagina di arrivo, buy.php
nelle email si legge Form viaggi di lusso, category, type, date, etc, ma
non leggo il testo che ho inserito nei boxes
<?php
$Testo = "---- Form Viaggi Lusso ----\n\n";
$Testo .= "Category : ".$HTTP_POST_VARS["category"]."\n";
$Testo .= "Type : ".$HTTP_POST_VARS["type"]."\n";
$Testo .= "Date : ".$HTTP_POST_VARS["date"]."\n";
$Testo .= "Name : ".$HTTP_POST_VARS["name"]."\n";
$Testo .= "Tel : ".$HTTP_POST_VARS["tel"]."\n";
$Testo .= "E-mail : ".$HTTP_POST_VARS["email"]."\n";
$Testo .= "Address : ".$HTTP_POST_VARS["address"]."\n";
$Testo .= "Notes : ".$HTTP_POST_VARS["notes"]."\n";
mail ("roby@romagift.com", "Form Viaggi Lusso ;-)", $Testo, "From:
b2b@romagift.com\n" );
// print($Testo);
?>
Grazie di cuore a tutti
Ale