Jump to content
Larry Ullman's Book Forums

Echo Random Number Per Ip Address?


Recommended Posts

If you're trying to create a unique token for a user, I wouldn't do a ten-digit number. It's too easy to crack.

I'd look into using the PHP hash function to create a real hash that's hard to crack.

 

As for cookies, Larry talks about all of that in his PHP & MySQL book.

Does he not talk about that in this book?

  • Upvote 1
Link to comment
Share on other sites

 Share

×
×
  • Create New...