Search found 4 matches

by mattollie
Fri Mar 30, 2012 2:45 am
Forum: PHP
Topic: Re-send activation email!
Replies: 6
Views: 2319

Re: Re-send activation email!

try something like this: $activation_code = "http://blah.com/index.php?acode=" . $total3['activation_code']; Then look into the mail() function for ideas on how to send emails Hey, Thanks heaps.. that did the trick got it working so now if they didnt recieve their activation email there i...
by mattollie
Thu Mar 29, 2012 2:40 am
Forum: PHP
Topic: Re-send activation email!
Replies: 6
Views: 2319

Re: Re-send activation email!

just have a page which has an input form (their email address) and check that against the database. OK, so far i can echo the activation_code from sql with this code... //resend activation email function resend_email($email){ $email = mysql_real_escape_string($email); $total = "SELECT * FROM u...
by mattollie
Wed Mar 28, 2012 7:53 am
Forum: PHP
Topic: Re-send activation email!
Replies: 6
Views: 2319

Re: Re-send activation email!

If they request it, check in your database the email that they requested it for. If that email exists, then send them the activation code again (to the email requested) and then you can just treat it as normal. Yeah but I'm more after a page that users can visit to get it automatically sent to thei...
by mattollie
Wed Mar 28, 2012 5:55 am
Forum: PHP
Topic: Re-send activation email!
Replies: 6
Views: 2319

Re-send activation email!

Hey guys, Im new to PHP and was wondering if anyone knew a way to resend the activation email. Firstly, i dont know how to make it check to see if the username and email entered match one in the database. Secondly i dont know how to, once matched up, get the activation_code from the database. I do h...