Ok, found out the solution but have another question...
<?
// email.php
// usage:
//
// <A HREF="email.php?to=me&domain=mydomain.com">E-Mail Me</a>-->
//
//
if (!isset($to))
{
$to = "info";
}
if(!isset($domain))
{
$domain = "austinmetrobaseball.com";
}
$email_address = $to."@".$domain;
// send email header to page
header ("Location: mailto:$email_address");
?>
Now, my browser comes up with a mailto: in
the address bar. How do I prevent that? Like
this:
<A HREF="email.php?to=me&domain=mydomain.com" target="_new">E-Mail Me</a>
Wouldn't that bring up another window? How would I prevent that?
Basically, I just want to "hide" the email
addresses on my site...