0 Users appreciate this thread.
^ ROFL
Let's see what I have....
[IMG=190x190]http://i1358.photobucket.com/albums/q778/AllTheFreakinBacon/07948BB3-CF19-46F1-9ADD-7878E2FB6D0A-17398-000008CF94026711_zps163f36c4.jpg[/IMG]
CodyP2000 (2013-06-09 14:56:20)http://www.youtube.com/watch?v=JqFrPjoG9iE
=+=Home4DSi Community Manager=+=
Want to talk to me somewhere else?
Reddit: CodyP2000
Snap: testedsnake201
Email: [email protected]
Want to talk to me somewhere else?
Reddit: CodyP2000
Snap: testedsnake201
Email: [email protected]
Screamer (2013-06-09 16:34:11)That picture. I swear I've seen that guy before. @AntiChrist
The secret shall be shared. PM for more info.
CodyP2000 (2013-06-09 16:35:45)~Cody~: If I could change my name one more time, I would change it to "Cody Pietrowski".
=+=Home4DSi Community Manager=+=
Want to talk to me somewhere else?
Reddit: CodyP2000
Snap: testedsnake201
Email: [email protected]
Want to talk to me somewhere else?
Reddit: CodyP2000
Snap: testedsnake201
Email: [email protected]
Mametchi (2013-06-09 18:17:51)Why did Sarah drop her ice cream?
Because she got hit by a bus
Why did Sara fall off the swing?
Because she had no arms
[simg][/simg]
Ron1212 (2013-06-09 18:32:10)You want a medal for that or something?
Yo yo yo RON1212 IN THE HOUSE KSKDVICHSJSJEJSJSJKS REKT
Ron1212 (2013-06-09 18:32:34)^Use that quote whenever someone says something they did.
Yo yo yo RON1212 IN THE HOUSE KSKDVICHSJSJEJSJSJKS REKT
little5 (2013-06-09 21:23:19)^^ #Too Long; Did not Read!
@Belle I hope that doesn't happen to me considering Noone reads the Terms and Conditions.
@AntiCHrist Sadly, no, I can't even learn HTML or CSS3. CSS isn't that hard for me though. I just tend to mix and match some codes to see what happens. But literally everything on my profile was either from a guide, or my friend, aka Belle helped.
angelrulez7 (2013-06-10 00:11:16)/**
* register - Gets called when the user has just submitted the
* registration form. Determines if there were any errors with
* the entry fields, if so, it records the errors and redirects
* the user to the form. If none, it attempts to register
* the new user.
*/
function register($subuser, $subpass, $subemail){
global $database, $form, $mailer; //The database, form and mailer object
...
/* No errors, add the new account to the */
else{
if($database->addNewUser($subuser, md5($subpass), $subemail)){
if(EMAIL_WELCOME){
$mailer->sendWelcome($subuser,$subemail,$subpass);
}
/*** This is new ************************/
if(AUTO_LOGIN){
/* Username and password correct, register session variables */
$this->userinfo = $database->getUserInfo($subuser);
$this->username = $_SESSION['username'] = $this->userinfo['username'];
$this->userid = $_SESSION['userid'] = $this->generateRandID();
$this->userlevel = $this->userinfo['userlevel'];
/* Insert userid into database and update active users table */
$database->updateUserField($this->username, "userid", $this->userid);
$database->addActiveUser($this->username, $this->time);
$database->removeActiveGuest($_SERVER['REMOTE_ADDR']);
}
/*** End of new code ************************/
return 0; //New user added succesfully
}else{
return 2; //Registration attempt failed
}
}
a
Log in to submit a comment
Back to forum: Miscellaneous
New registered users today: 0
Newest registered user: ururbp789
Don't do anything! Just don't copy anything else and use paste for what you've already had and post it in the comments.
Have fun!