|
|||||||
|
|
|
![]() |
|
|
Strumenti |
|
|
#1 |
|
Member
Iscritto dal: Feb 2008
Messaggi: 34
|
aiuto per inviare un email da php
con il codice sotto riportato,
cliccando su un link, mi apre una popup e in questa mi viene riportato l'indirizzo del link cliccato, però adesso avrei bisogno che questo venga spedito al mio indirizzo email, come posso fare? premendo invia segnalazione mi manda ai ringraziamenti ("Location:tellfriend.done.htm"), ma non mi spedisce nulla ovviamente. Grazie a tutti, per favore datemi una mano, mi sono arenato da 3 giorni su questa cosa.... <?php if ( $submit ) { //add page to take information, process it and move to confirmation page header ("Location:tellfriend.done.htm"); //this line sends the mail, using the input from the form below mail("$femail","say what you like here","$msg","From: $name <$semail>\n\n Content-Type: text/plain; charset=iso-8859-1\nContent-Transfer-Encoding:8bit"); } ?> <BR> <br> <form action=<?echo $PHP_SELF;?> method=post> <TABLE WIDTH="373" BORDER="0" CELLSPACING="0" CELLPADDING="2"> <!--DWLayoutTable--> <TR> <TD WIDTH="369" height="92" valign="top"><TEXTAREA NAME=msg COLS=50 ROWS=5 WRAP=soft>Un problema è presente a questo indirizzo: <?php echo $HTTP_SERVER_VARS['HTTP_REFERER']; ?> </TEXTAREA> </TD> </TR> <TR> <TD height="28" valign="top"><INPUT TYPE=submit NAME=submit VALUE="INVIA LA SEGNALAZIONE"></TD> </TR> </TABLE> <br></form> |
|
|
|
|
| Strumenti | |
|
|
Tutti gli orari sono GMT +1. Ora sono le: 00:44.



















