Search
 
SCRIPT & CODE EXAMPLE
 

PHP

php random filename generator

function random_string($length) {
    $key = '';
    $keys = array_merge(range(0, 9), range('a', 'z'));

    for ($i = 0; $i < $length; $i++) {
        $key .= $keys[array_rand($keys)];
    }

    return $key;
}
//
echo random_string(50);
Comment

PREVIOUS NEXT
Code Example
Php :: echo string in php 
Php :: convert png image transparent into webp php 
Php :: export mysql data to word in php 
Php :: html pagination php 
Php :: laravel crud generator 
Php :: run laravel seeder 
Php :: how simple get ip address json 
Php :: php declare array 
Php :: wordpress change post format 
Php :: find php ini 
Php :: laravel factory in custom namespace 
Php :: laravel collection search 
Php :: display money format php 
Php :: json encode php 
Php :: load session in codeigniter 
Php :: yii2 gridview action change urls 
Php :: pdo error message 
Php :: Laravel API Endpoint "401 Unauthorized" on Server But Works Fine On Localhost 
Php :: array_merge in php 
Php :: add key value array php 
Php :: php null coalesce 
Php :: last insert id mysqli 
Php :: how to run curl command through php script 
Php :: not equal in laravel blade 
Php :: php localhost 
Php :: get data without pivot relation laravel 
Php :: PHP $argv echo 
Php :: laravel log package, laravel log, save laravel log 
Php :: check if custom post type exists 
Php :: echo php dropdown from db and save it in a db 
ADD CONTENT
Topic
Content
Source link
Name
3+7 =