I tried one of your php codes for link referral posted in [URL=http://forums.webdeveloper.com/showthread.php?s=&postid=102238#post102238]this old thread[/URL] , and found that if you do not enter “your name” “your email address”, it does not deliver the message, yet, you get a “thank you” page. What gives? I mean, should there be a “sorry, you have not entered one of required fields” page, too?
Follow up question: why not put the requirement on "your email", too?
when you leave sender's email field blank, it automatically inserts that website into the sender adress @ mail server.
Some people may not understand that email came from a friend, but rather think it is a spam message and not even read it, or, better yet - complain to the abuse@blablaba....
Basically, what you will want to do is keep most of it the same, but read the referring URL (using [URL=http://us3.php.net/manual/en/function.file.php]file()[/URL] or [URL=http://us3.php.net/manual/en/function.file-get-contents.php]file_get_contents()[/URL]) into a string (thus the latter function would be more appropriate if your server supports it) and use a simple regex to match the title. Then, you can print that out rather than the URL.