Ok i think I did everthing right. My earlyer problem with the error was fixed. insted of:
if($avatarid==0) $avatarid=http://www.headbopmusic.com/board/hblogosm.gif;
$homepage = trim($homepage);
if ($homepage) {
if (preg_match('#^www\.#si', $homepage)) {
$homepage = "http://$homepage";
} else if (!preg_match('#^[a-z0-9]+://#si', $homepage)) {
// homepage doesn't match the
http://-style format in the beginning -- possible attempted exploit
$homepage = '';
I chenged it to:
if($avatarid==0) $avatarid=
http://www.headbopmusic.com/board/hblogosm.gif;$homepage = trim($homepage);
if ($homepage) {
if (preg_match('#^www\.#si', $homepage)) {
$homepage = "http://$homepage";
} else if (!preg_match('#^[a-z0-9]+://#si', $homepage)) {
// homepage doesn't match the
http://-style format in the beginning -- possible attempted exploit
Now it allows registration agin with no error. But it still dosent link the the avatar automatically. when registering you can choose the avatar. its there uploaded on the server, the user would have to choose to use it. I'm trying to have it be a standered that the same avatar is used for all members the register. upon they're first post it should be there. with out them or me choosing it.. can this be done?
Or is this what your trying to have me do and im simpley not doing it right?
Thanks for you time & Help..