PHP short unique ID generation using auto_increment?

后端 未结 8 1482
自闭症患者
自闭症患者 2021-02-04 17:14

I would like to generate a short, unique ID without having to check for collisions.

I currently do something like this, but the ID I currently generate is random and che

8条回答
  •  既然无缘
    2021-02-04 17:51

    This blog post has something close to what you are after.

    http://kevin.vanzonneveld.net/techblog/article/create_short_ids_with_php_like_youtube_or_tinyurl/

提交回复
热议问题