Search
 
SCRIPT & CODE EXAMPLE
 

PHP

auto generate password in php

function rand_string( $length ) {
    $chars = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789";
    return substr(str_shuffle($chars),0,$length);
}

echo rand_string(8);
Comment

PREVIOUS NEXT
Code Example
Php :: htaccess post max size 
Php :: laravel images mimetypes validatiion 
Php :: php get directory 
Php :: use str laravel 
Php :: php previous site 
Php :: laravel model tablename 
Php :: wordpress get_date 
Php :: wordpress get current user role 
Php :: (2482:3) autoprefixer: Replace color-adjust to print-color-adjust. The color-adjust shorthand is currently deprecated. 
Php :: laravel where created_at today 
Php :: storage image not showing in laravel 
Php :: php string length 
Php :: laravel get current domain 
Php :: php if no imagee exists 
Php :: composer install ignore platform reqs 
Php :: clear bootstrap cache laravel 
Php :: smarty prestashop get language 
Php :: url decode function in php 
Php :: string replace smarty 
Php :: php server request method 
Php :: open php.ini in ubuntu 
Php :: wpml get translated post id 
Php :: php max input vars wordpress wp-config 
Php :: display date time twig 
Php :: php.ini settings 
Php :: formate date using carbon in laravel blade 
Php :: codeigniter 3 limit 
Php :: write to file laravel 
Php :: php get day from date 
Php :: how to install php fm 
ADD CONTENT
Topic
Content
Source link
Name
7+8 =