Hello coders. I recently saw a page where there was an option to "click this link to email this page".. I looked at the code and they did it using javascript. I was wondering if there is anyway to do this using php. Can anyone help me?
$url_to_page='http://www.company.com/your/page.php?u=3';
$body = join('',file($url_to_page));
mail($to,$subject,$body);
Thanks for responding... Could you explain to me what that join statement does?
http://www.php.net/manual/en/function.join.php
Ok. So if I'm going to have a hyperlink to "email this page" will the a href=mail()?