You are not logged in. Please login or register.
Active topics Unanswered topics
Search options
Before:
//
// Convert \r\n and \r to \n
//
function pun_linebreaks($str)
{
return str_replace("\r", "\n", str_replace("\r\n", "\n", $str));
}
After:
//
// Convert \r\n and \r to \n
//
function pun_linebreaks($str)
{
return str_replace(array("\r\n", "\r"), "\n", $str);
}
Hope this helps.
Edit: PHP 4.0.5 required to do the array(), so it might be a problem.
I've been recently getting about 2-3 registrations on my forums by bots. Is there anyway I can stop this? I have the "Verify E-mail to complete Registration" enabled. I was hoping that maybe there was a feature in PunBB (or a mod) which allows me (the administrator) to verify all registrars.
Posts found: 2