thx for your help
IT WORKED...
but i need more:
i updated my code so that it will create a log file so we get some statistics about how many people use this part of the page!!
So i made this:
$errorlogname = "/logfiles/emailfriends.txt";
$errorlog = @fopen($errorlogname, "a+") or die("Error A5: Could not log in to master server Please try again later, the webmaster is probably doing maintanence on this part of the website. Sorry for the inconvinience.");
$curdate = date("l, F j, Y");
$i = 0;
$n = $i++;
$userip = $REMOTE_ADDR;
$time = date("h:i a");
$newlog = "Log #".$n.": ".$curdate.": Email sent from $email to $recipient: by ip: $userip @ $time";
@fwrite($errorlog, $newlog) or die("Error A4: Could not write into master log file Please try again later, the webmaster is probably doing maintanence on this part of the website. Sorry for the inconvinience.");
fclose($errorlog);
when i do it i get the die error (A5) why?