You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'key='37267459315397548983', status='0', ban='0', points='0', rang1='0', rang2='' at line 3
niby wszystko działa a jednak nie

może coś tu pomoże
@mysql_query("insert into members set username='$username', password='$password', email='$email', nickwmc='$nickwmc', sex='$sex', dud='$dud', dum='$dum', dur='$dur', gadugadu='$gadugadu', skype='$skype', steam='$steam', youtube='$youtube', website='$website', ip='$ip', dateregister='$dateregister', key='$key', status='0', ban='0', points='0', rang1='0', rang2='0', rang3='0', rang4='0', rang5='0', avatar='upload/avatars/avatar.gif'")or die(mysql_error());
a linia 3 to connection();
<?php require "config.php"; connection(); ?>