Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: Email Login & Randomized User URLs – Solution


sweller
Participant

@sweller

I was looking for the same solution and appreciate all the work you guys have done. However the javascript solution seems like a long way to generate a random string. Is there a reason not to use the mt_rand function or something similar? So to add “mem” the username form would look like:

<input type="hidden" name="signup_username" id="signup_username" value="<?php echo("mem" . mt_rand()) ?>" />

Skip to toolbar