I used this snippet to create a Tell a Friend Block. I've managed the display & send mail. After sending the mail the thank you page appears, and redirects the member to the site index, but as logged out. However, if the "click here" link is clicked, the member is able to go back to forum index as logged in. ////// Mail posting ends here ///////////
echo "<center><font face='Verdana' size='2' ><img src='Email024.gif'><br>Thank You, Your message has been emailed to $f_name</font></center>";
echo "<br><center>You are being redirected back to the main page, if you are not diverted in 10 seconds please <a href='http://www.diabetic.pub/forum/index.php'>click here</a></center><br><center>Or Click the back button on your browser to return to the previous page</center>";
//////////// Sending the message ends here /////////////
}else{// display the error message
echo "<center><font face='Verdana' size='2' color=red>$msg</font></center>";
Anything I can do to make this work ?