Category : PHP

PHP Web Development

Password Hashing in PHP

Anuj Kumar
Functions for hashing password password_hash() password_verify() password_hash() – Syntax: string password_hash(string $password , integer $algo [, array $options ] ) string $password – Password provide
PHP Web Development

How to prevent Cross-Site Request Forgery (CSRF) in PHP

Anuj Kumar
A cross-site request forgery (CSRF) vulnerability occurs when: A web application uses session cookies. he application acts on an HTTP request without verifying that the