Bah...hotscripts...
The mail thing is simple...
Make a form with a hidden input that is your url, one hidden input that is your email address, one text input to enter an email address, submit the form to a page utilizing this function...
http://www.zend.com/manual/function.mail.php
As far as the favorites...that's javascript.
if (navigator.appName=="Netscape") {
document.write (
'To bookmark this site, click '
+'<b>Bookmarks | Add bookmark</b> '
+'or press <b>Ctrl+D</b>.'
)
}
else if (parseInt(navigator.appVersion)>3) {
document.write (''
+'<a onMouseOver="self.status=\'Bookmark this site\'" '
+' onMouseOut="self.status=\'\'" '
+' href="javascript:window.external.AddFavorite'
+'(\'http://www.thedomainyouwanttoadd.com\','
+'\'Bookmark text goes here\')">'
+'Click here to bookmark this site</a>.'
)
}
Sometimes it's just better to learn than copy.