Is there ascript or some one who could write me a script which can let my vistors make the current page a prinable version. Thanks alot also here a great email the current page to a friend script it auto inserts the current page in
the form. script code here it comes
<?php
/* Put the url to your site here so that if someone finds your tellafriend
page without linking to it they will simply be telling their friend about your main page
*/
$yoursite = "http://www.sitepoint.com";
// Thats all the editing that is necessary unless you want to mess with the html
$referer = getenv("HTTP_REFERER");
if (isset($referer)==0 || $referer=="") {
$referer = $yoursite;
}
if (isset($action)==0 || $action=="") {
?>
<html>
<head>
<title>Send page to a friend</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body bgcolor="#FFFFFF">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td>
<center>
<font face="Verdana, Arial, Helvetica, sans-serif">We have sent an e-mail to <?php echo $sendtoemail;?>. You will now be returned to the page you came from.</font>
</center>
</td>
</tr>
</table>
If you use SSI then there's an easy way. Replace the SSI call(s) output (it's always the same so it should be easy) with maybe a small black and white logo of yours. Package that all up into a PHP page and you've got a home-made print this page script.
If you don't use SSI then it may be a bit harder but you can still use the same technique.
Bookmarks