PDA

View Full Version : Help with some PHP code


Parker Clack
08-14-2002, 12:35 AM
I am wanting to put in a specific email address instead of using
$webmasteremail.

Do I have to put this in like perl by using

your\@youremail.com or what?

Thanks,
Parker

mr e
08-14-2002, 06:31 AM
well you could just do <a href=\"mailto:you@youmail.com\">Email Me</a>

[D]Vincent
08-14-2002, 06:41 AM
Vincent]Yeah no real trick there :)

Boofo
08-14-2002, 07:12 AM
Ok, then how would you do it for your email address in your profile? I mean, if you wanted to change to a file instead of an email address?

Parker Clack
08-14-2002, 08:40 PM
Sorry I wasn't more clear.

I am wanting to change out the $webmasteremail in the following
that gets used to send out an email.

mail ($user[email],$subject,$message,"From: $webmasteremail");

would I use myname\@myplace.com in place of $webmasteremail or what?

Thanks,
Parker

Erwin
08-15-2002, 07:32 AM
Just above that line, add:

$webmaster = "parkerclark@yoursite.com";

Done.

Or just replace $webmasteremail with parkerclark@yoursite.com - no need backslash.