Problema con FormMail e form!!!

V[I]C[I]O

Nuovo Utente
21 Feb 2007
6
0
0
Salve a tutti, vi seguo da prima come fantasma :D ma 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:

# 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 = ('davisar.it','209.227.249.90');

# @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 = &fill_recipients(@referers);

# 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_USER_AGENT');

# Done

Il form creato è così:

<form action="http://www.davisar.it/cgi-bin/FormMail.pl" method="POST">
<input type=hidden name="recipient" value="[email protected]">
<input type=hidden name="subject" value="oggetto">
<table border="0" cellspacing="0" cellpadding="5" align="center">
<tr>
<td><b> Nome e Cognome:</b></td>
<td align="right"><input type=text name="realname"></td>
</tr>
<tr>
<td><b>Email:</b></td>
<td align="right"><input type=text name="email"></td>
</tr>
<tr>
<td colspan="2"><b>Messaggio:</b></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>

Il link dove sta il form è questo: http://www.davisar.it/contattaci.htm

Quando inserisco i dati di prova e clicco su invio, mi dice che i dati sono stati spediti all'indirizzo: [email protected] ma quando vado su Outlook Express per vedere se mi arriva qualcosa non mi arriva un bel niente!

Un'altra cosa, quando trasferisco il seguente file in ASCII con CuteFTP CMOD per sostituire i permessi 777 con 755 mi impedisce di farlo dandomi errore!

Dov'è che sbaglio!? :rolleyes:

Grazie per le eventuali risposte!
 
Ultima modifica:
Discussioni simili
Autore Titolo Forum Risposte Data
alessi5000 problema con formmail PHP 1
O problema con dvr dahua xvr5116 IP Cam e Videosorveglianza 0
G Problema con Xampp Web Server 1
andrea barletta Problema con miniature comandi Photoshop 0
I problema con alice Posta Elettronica 0
N Problema con position absolute e overflow HTML e CSS 4
L Problema con inner join PHP 11
K [php] Problema con inner join PHP 4
K [PHP] Problema con variabili concatenate. PHP 1
O problema con query PHP 4
I problema con 2 account Posta Elettronica 1
L problema collegamento file css con html HTML e CSS 1
E Problema accesso a file con app sviluppata con MIT APP INVENTOR 2 Sviluppo app per Android 0
M Problema con Try Catch PHP 0
Sergio Unia Problema con gli eventi del mouse su una data table: Javascript 2
T PROBLEMA CON SESSIONI PHP 3
T ALTRO PROBLEMA CON ARRAY PHP PHP 1
R problema con else PHP 0
T PROBLEMA CON ARRAY PHP 8
L problema con query select PHP 2
R Problema query con ricerca id numerico PHP 2
F Problema con risposta PHP 0
S problema con recupero dati tabella mysql PHP 2
Z Problema con il mio tp-l i nk Reti LAN e Wireless 1
L Problema RAM con Tomcat 8 Apache 0
napuleone problema con sort e asort PHP 4
Z Problema con INT MySQL PHP 1
Z Problema database MySQL con XAMPP PHP 0
M Problema con controllo form in real time jQuery 6
Z Problema di sincronizzazione PAYPAL con PHP PHP 1
G Problema con Get page PHP 4
P Problema con require once PHP 6
P Problema con i package Java 1
A Problema login con Safari PHP 14
F INDESIGN: problema esportazione esecutivo per la stampa con foto B/N Webdesign e Grafica 0
S problema con css bootstrap3 HTML e CSS 4
M .load() problema con caricamenti dinamici di js Javascript 0
G Problema con eccessiva nitidezza apertura Camera Raw Photoshop 0
G Problema ------- con Query PHP 1
G Problema con Query PHP 1
T problema con select dinamica con jquery Javascript 0
S Problema con spazi bianchi HTML e CSS 5
A PROBLEMA: insert mysqli con dati Tagsinput Presentati al Forum 0
Tommy03 Problema con z-index HTML e CSS 3
M Problema inserimento parole con apostrofo nel db PHP 5
C Problema con dati meteo xml XML 1
S Problema con infrarossi videocamera IP Cam e Videosorveglianza 1
V Problema con librerie allegro5 c++ C/C++ 1
M Problema con php per calcolo costo percentuale PHP 7
S Problema con mysqli_num_rows PHP 18

Discussioni simili