How to Prevent PHP Code from SQL Injection | PHP Tutorial | Core PHP Method

Veröffentlicht am: 07 Juni 2020
auf dem Kanal: Skill Institution
81
4

Here we are showing full practical code example to prevent Core PHP Code from SQL Injection.
What is SQL Injection?
It's a technique basically that attackers use to attack on our web application. They come on our web form and put statement with invalid character or SQL query.
When they will submit that information through text box, that will destroy our database and application.

In this video, we are teaching how to clean this things to avoid any kind of unfortunate things like SQL Injection.
We should use mysqli_real_escape_string() function that provided by PHP and pass the parameter that we want to clean and clear.

$username = mysqli_real_escape_string($connection, $username);
$password = mysqli_real_escape_string($connection,$password);


Click here:
Install Linux Step by Step method and Guide:
   • Install Linux Step by Step method.  

How to install and configure Web Server in Linux - Step by Step Method
   • How to Install and Configure Web Server in...  


Auf dieser Seite können Sie das Online-Video How to Prevent PHP Code from SQL Injection | PHP Tutorial | Core PHP Method mit der Dauer stunde minuten sekunde in guter Qualität ansehen, das der Benutzer Skill Institution 07 Juni 2020 hochgeladen hat, den Link mit Freunden und Bekannten teilen, dieses Video wurde auf Youtube bereits 81 Mal angesehen und es wurde von 4 den Zuschauern gefallen. Viel Spaß beim Betrachtenden Zuschauern gefallen!