Safe way to Create Password – PHP
As we know that password hashing is one of the most basic security considerations that must be made when designing any application that accepts passwords from users. Without hashing, any passwords that...
View ArticlePhp Interview Questions and Answers – Part 2
1- Why doesn’t the following code print the newline properly? <?php $str = ‘Hello, there.nHow are you?nThanks for visiting techpreparation’; print $str; ?> Because inside the single quotes the n...
View ArticlePhp Interview Questions and Answers – Part 6
1- How can we register the variables into a session? session_register($session_var); $_SESSION['var'] = ‘value’; 2- What is the difference between characters �23 and x23? The first one is octal 23, the...
View ArticlePhp Interview Questions and Answers – Part 7
This is the 7th part of Php Interview Questions and Answers. 1- How can we destroy the session, how can we unset the variable of a session? session_unregister() – Unregister a global variable from the...
View Article
More Pages to Explore .....