zero_ZX
05-13-2010, 07:33 PM
Hello,
My users currently signup via another page, to register for another application i have.
I want to my script to insert a vbulletin user, when they register.
So far i got this:
$sql = "INSERT INTO user SET username='".$in_user."' , usergroupid=2 , passworddate=0000-00-00 , email='".$in_email."' , showvbcode=1 , usertitle=Member , customtitle=0, joindate='".$time."'
But setting the password and the salt is a problem for me, how can i do this? :)
My users currently signup via another page, to register for another application i have.
I want to my script to insert a vbulletin user, when they register.
So far i got this:
$sql = "INSERT INTO user SET username='".$in_user."' , usergroupid=2 , passworddate=0000-00-00 , email='".$in_email."' , showvbcode=1 , usertitle=Member , customtitle=0, joindate='".$time."'
But setting the password and the salt is a problem for me, how can i do this? :)