Jump to content

NardCake

New Members
  • Posts

    2
  • Joined

  • Last visited

NardCake's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. Well I'm not quite sure if my way is a guaruntee but it makes sense to me. Simply I take the alphabet, lower and upper case, numbers 1-10 and the current timestamp and mix them all together. <?php $chars = str_shuffle('abcdefghijklmnopqrstuvwxyz1234'.time().'567890ABCDEFGHIJKLMNOPQRSTUVWXYZ'); $chars = substr($chars,0,10); echo $chars; ?> I'm not anywhere with the ability to test that on a server at the moment, but hopefully that does something near to what you want? Then of course for the loop if you wanted to generate the strings for a database for example: <?php $count = 0; while($count <= 50000){ // enter code above then enter into database or something $count++; } ?> I apologize for any errors. Hopefully that does something similar to what you want.
  2. It would also be a good idea to check and make sure all of the required information is filled so blank E-Mails and such aren't sent.
  3. Hello! I'm new on the forum. My username is NardCake, my real first name is Alan, people can call my by either. I write a ton of PHP, HTML, CSS and some Javascript when required. I live in Ohio (a state in the United States) and I am 14, almost 15 years of age and fueled by caffeine. I decided to join the forum because I love writing PHP, learning from others, helping others, and I love communication. Currently I am developing a mini framework (not quite sure what to call it) that will sit at the core of many other projects I plan to work on, I'm also looking for members for a team (I'm a Git user!). I look forward to learning new things and helping others, thank you.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.