Jump to content
MakeWebGames

HOW CAN I MAKE IT SO EVERYTIME SOMEONE REGISTERS TO MY GAME THERE...............


-CrAzY-
 Share

Recommended Posts

Re: HOW CAN I MAKE IT SO EVERYTIME SOMEONE REGISTERS TO MY GAME THERE...........

His caps button is stuck...

Anyways i dont get what you meen...

But do you wanna change the promo code?

Just find in register.php

 

if($_POST['promo'] == "isomerizer")

 

Change isomerizer to w/e? :?

Link to comment
Share on other sites

Re: HOW CAN I MAKE IT SO EVERYTIME SOMEONE REGISTERS TO MY GAME THERE...............

no what i want to do is change promo code to referer(that i cn do already), but i want the form that people fill out to register to be sent to my email so i can see what they put in promo code (referer) so the referer can get some crystals, so i will get a email like:

Username: Test

Password: testtest

Email: [email protected]

Promo Code (Referer) TheShadow746

So I will Know To Give 'TheShadow746' Some Crystals For Telling 'Test' About The Game!

Link to comment
Share on other sites

Re: HOW CAN I MAKE IT SO EVERYTIME SOMEONE REGISTERS TO MY GAME THERE...........

In register.php find:

 

mysql_query("INSERT INTO userstats VALUES($i, 10, 10, 10, 10, 10)", $c);

 

Under add:

$to [email protected];
$subj = "Game Name new registration";
$mess = "
Username: $username
Password: md5('{$_POST['password']}')
Email: {$_POST['email']}
Promo: {$_POST['promo']}
";
$headers ="From: [email][email protected][/email]";

mail($to,$subj,$mess,$headers);
Link to comment
Share on other sites

Re: HOW CAN I MAKE IT SO EVERYTIME SOMEONE REGISTERS TO MY GAME THERE...............

$to [email protected]; <<<<<<so here i put my email

$subj = "Game Name new registration";

$mess = "

Username: $username

Password: md5('{$_POST['password']}')

Email: {$_POST['email']}

Promo: {$_POST['promo']}

";

$headers ="From: [email protected]"; <<<<<<<< and here i can put like mygamenameregistration?

mail($to,$subj,$mess,$headers);

Link to comment
Share on other sites

Re: HOW CAN I MAKE IT SO EVERYTIME SOMEONE REGISTERS TO MY GAME THERE...........

 

$to [email protected]est.com; <<<<<<so here i put my email

$subj = "Game Name new registration";

$mess = "

Username: $username

Password: md5('{$_POST['password']}')

Email: {$_POST['email']}

Promo: {$_POST['promo']}

";

$headers ="From: [email protected]"; <<<<<<<< and here i can put like mygamenameregistration?

mail($to,$subj,$mess,$headers);

Yes....

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...