avevo postato qualche ora fa un post precedente per questo mio problema,
ho trovato un altra soluzione diversa modificato un codice,
cliccando il link interessato ora,
apre la popup e in questa mi viene riportato il link della pagina in questione,
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");
}
?>
<form action=<?echo $PHP_SELF;?> method=post> <TABLE WIDTH="373" BORDER="0" CELLSPACING="0" CELLPADDING="2">
<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>
</form>