create random password in php
function rand_string( $length ) {
$chars = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789";
return substr(str_shuffle($chars),0,$length);
}
echo rand_string(8);
Also in PHP:
- execution time exentd php
- dateFormat php
- PHP DateTime ->format
- "\" strpos
- array unique multidimensional array php
- difference entre deux date php
- Shorten long numbers to K/M/B?
- catch custom exception php
- cache:clear artisan laravel
- check length of a string in php
- create folder with php
- Allowed memory size of 1610612736 bytes exhausted (tried to allocate 4096 bytes) in phar://D:/Program Files/Composer - PHP/composer.phar/src/Composer/DependencyResolver/Solver.php on line 223
- creating thumbnail in codeigniter
- fatch time from database and add in current time in php
- array_unique object
- delete duplicate values from array php
- Backend fatal error: PHP Fatal error: Allowed memory size of 1610612736 bytes exhausted in laravel 8
- current date time in php
- Class 'Intervention\Image\ImageServiceProvider' not found
- 5 digit string laravel
- How to see if there is a - in a string in php
- errorLevel php no warnings
- data seeder in laravel
- command not found: laravel