Salve a tutti, vi seguo da prima come fantasmama adesso ufficialmente registrato
volevo farvi i complimenti per il vostro sito e la competenza che avete!
Adesso veniamo al mio problema:
Praticamente ho scaricato FormMail V. 1.9 ed editato in questo modo, una volta editato salvato nella directory /cgi-bin:
Il form creato è così:# Define Variables #
# Detailed Information Found In README File. #
# $mailprog defines the location of your sendmail program on your unix #
# system. #
$mailprog = '/usr/lib/sendmail';
# @referers allows forms to be located only on servers which are defined #
# in this field. This security fix from the last version which allowed #
# anyone on any server to use your FormMail script on their web site. #
@referers = ('www.davisar.it');
# @recipients defines the e-mail addresses or domain names that e-mail can #
# be sent to. This must be filled in correctly to prevent SPAM and allow #
# valid addresses to receive e-mail. Read the documentation to find out how #
# this variable works!!! It is EXTREMELY IMPORTANT. #
@recipients = ('info@davisar.it');
# ACCESS CONTROL FIX: Peter D. Thompson Yezek #
# @valid_ENV allows the sysadmin to define what environment variables can #
# be reported via the env_report directive. This was implemented to fix #
# the problem reported at http://www.securityfocus.com/bid/1187 #
@valid_ENV = ('REMOTE_HOST','REMOTE_ADDR','REMOTE_USER','HTTP_U SER_AGENT');
# Done
Il link dove sta il form è questo: http://www.davisar.it/contattaci.htm<form action="http://www.davisar.it/cgi-bin/FormMail.pl" method="POST">
<input type=hidden name="recipient" value="info@davisar.it">
<input type=hidden name="subject" value="oggetto">
<table border="0" cellspacing="0" cellpadding="5" align="center">
<tr>
<td> Nome e Cognome:</td>
<td align="right"><input type=text name="realname"></td>
</tr>
<tr>
<td>Email:</td>
<td align="right"><input type=text name="email"></td>
</tr>
<tr>
<td colspan="2">Messaggio:</td>
</tr>
<tr>
<td colspan="2"><textarea name="messaggio" cols="40" rows="5"></textarea></td>
</tr>
<tr>
<td colspan="2" align="center"><input type="Submit" value="Invia"></td>
</tr>
</table>
<input type=hidden name="required" value="email,realname,messaggio">
</form>
Quando inserisco i dati di prova e clicco su invio, mi dice che i dati sono stati spediti all'indirizzo: info@davisar.it ma quando vado su Outlook Express per vedere se mi arriva qualcosa non mi arriva un bel niente!
Dov'è che sbaglio!?![]()
Grazie per le eventuali risposte!