Don’t forget to Hit the Subscribe Button
Below:
———————————————————————————————————-
Topic Introduction:-
SaturdayTalks #2-PHP Job Interview | Generate a random, unique, alphanumeric string
How to generate a random, unique, alphanumeric string in PHP
Using str_shuffle() Function: The str_shuffle() function is an inbuilt function in PHP and is used to randomly shuffle all the characters of a string passed to the function as a parameter.
Using md5() Function: The md5() function is used to calculate the MD5 hash of a string. Pass timestamp as a argument and md5 function will convert them into 32 bit characters
Using sha1() Function: This function calculates the sha-1 hash of a string. Pass timestamps as a argument and sha1() function will convert them into sha1- hash
Using randon_bytes() Function: This function generates cryptographically secure pseudo-random bytes. It returns a string containing the requested number of cryptographically secure random bytes. Use binehex () function to convert bytes into hexadecimal format.
Video ko like ker diya karo ..like button ko blue kerke jana ..shukriya..
Source Code: for source code Please leave your email id in the comment box.
—————————————————————————————
Learn New Technologies — Visit Our Channel —
1) CodeIgniter Mini Project Tutorial in Hindi/Urdu
Using Angular JS & Boostrap 3 :
2) Codeigniter Tutorial for Beginners
Step by Step in Hindi :
3) PDO-OOP-PHP-CRUD-with-Bootstrap :
4) AngularJS Tutorial for Beginners
(For Absolute Beginners ) :
5) JSON Tutorial for Beginner :
6) Git and GitHub Training In Hindi :
7) Java Tutorial For Beginners
(Step by Step tutorial) :
8) PHP Tutorial for Beginners (For Absolute Beginners) :
9) OOPS Tutorial for Beginners in PHP :
10) Bootstrap Tutorial for Beginners :
11) Magic Methods in PHP Tutorial :
12) Build a PHP MVC Application :
13) Whats new in PHP 7 | (Introduction) :
14) CRUD with PHP and MySQLi Tutorial :
15) Technology Tips and Tricks :
16) MongoDB Tutorial for Beginners (Hindi) :
———————————————————————————————
For any queries feel free to comment or send a mail on tutorialspoint2016@gmail.com
You can connect with us in social Media :-
facebook :
Want to Join :
Don’t forget to hit the Subscribe & Like button!
————————————————————
Nguồn: https://svdpch.org/
Xem thêm bài viết khác: https://svdpch.org/cong-nghe/
ajitanand23nov@gmail.com send source code plz sir
Sir this interview question is same for the freshers ?
Sir next Saturday talk #3 please.
great job bro pls make a example of import export using php like mysql
sir video to apka awesome ha…
lekin please please laravel ka tutorial complete kardo jaise codeigniter ka kiye ho…
Sir Angular 8 ka complete crash course bana dan please?
Very nice sir… Keep uploading these kind of video.
Bro comment Kyon Delete kiya hai
nice video
Give this video a thumbs up if you liked it. Give this video a thumbs down if you disliked it. Your feedback will improve the quality of upcoming tutorials.
How to generate a random, unique, alphanumeric string in PHP
Using str_shuffle() Function: The str_shuffle() function is an inbuilt function in PHP and is used to randomly shuffle all the characters of a string passed to the function as a parameter.
Using md5() Function: The md5() function is used to calculate the MD5 hash of a string. Pass timestamp as a argument and md5 function will convert them into 32 bit characters
Using sha1() Function: This function calculates the sha-1 hash of a string. Pass timestamps as a argument and sha1() function will convert them into sha1- hash
Using randon_bytes() Function: This function generates cryptographically secure pseudo-random bytes. It returns a string containing the requested number of cryptographically secure random bytes. Use binehex () function to convert bytes into hexadecimal format.
Video ko like ker diya karo ..like button ko blue kerke jana ..shukriya..