Randomly generate four yards of English
//產生隨機碼,預設四碼,約七百次會出現碰撞
function get_random_key($length = 4)
{
$permitted_chars = '1234567890abcdefghijklmnopqrstuvwxyxABCDEFGHIJKLMNOPQRSTUVWXYX';
return substr(str_shuffle($permitted_chars), 0, $length);
}
Randomly generate four yards of English
//產生隨機碼,預設四碼,約七百次會出現碰撞
function get_random_key($length = 4)
{
$permitted_chars = '1234567890abcdefghijklmnopqrstuvwxyxABCDEFGHIJKLMNOPQRSTUVWXYX';
return substr(str_shuffle($permitted_chars), 0, $length);
}
Although I like Laravel very much, Laravel has many great features, such as Eloquent ORM, Model, and Blade temple, which I like very much. But seriously, he's really fat, and it's kind of slow to start, so I'm just trying to do it the way I want Extract the functions I want, and assemble this self-made frame micro-frame, which is close to Plain PHP. I think anyone who understands PHP can get started.
Apache removed the Authorization Header, no solution can be seen in $_SERVER.
Can't find phpize on older versions of CentOS, can't compile php extensions. How to install phpize?
No Comment
Post your comment