Quote:
Originally Posted by binjamin So theirs no way to get this thing working for php4? only php5? That's kind of a disadvantage as MANY sites still use php4 |
Sorry Benjamin I was incorrect I am using php 5 I'm sorry about the confusion!
I'm still having issues with this DOLLARS5 please hep me
ght I played with it and now I get this,
When I try and delete the extra text I get a parse error ?
This is where I'm at,
Code:
echo "Welcome $username<br />";
echo "Check your e-mail for activating your account.<br />";
$from = 'From: admin@blogengage.com' . PLIGG_PassEmail_From . "\r\n";
$subject="Welcome to BlogEngage" . PLIGG_Visual_Name;
$message = "Hello " . $username . ",\r\n\r\nThanks for registering with us. Please confirm your activation by clicking the following link or by copy, pasting it into your url address field of your browser.\r\n" . my_base_url . my_pligg_base . "/validation.php?code=$encode&uid=$username\r\n\r\nRegards,\r\nAdministrator";
$to=$email;
mail($to, $subject, $message, $from);
EDIT: I just did it like this and I don't have an error I will try it and see if it works,
Code:
echo "Welcome $username<br />";
echo "Check your e-mail for activating your account.<br />";
$from = 'From: admin@blogengage.com' .
$subject="Welcome to BlogEngage" .
$message = "Hello " . $username . ",\r\n\r\nThanks for registering with us. Please confirm your activation by clicking the following link or by copy, pasting it into your url address field of your browser.\r\n" . my_base_url . my_pligg_base . "/validation.php?code=$encode&uid=$username\r\n\r\nRegards,\r\nAdministrator";
$to=$email;
mail($to, $subject, $message, $from);
Alright I still get an error when I do it this way,
Quote:
|
Warning: mail(): Bad parameters to mail() function, mail not sent. in /home/content/b/b/r/bbrian017/html/blogengage/register.php on line 173
|
Line 173 is,
Code:
mail($to, $subject, $message, $from);
Cheers,
bbrian017