Problem I want to be sure that this isn’t vulnerable to SQL injection. If yes, then how can it be […]
Tag: sql-injection
Adding entries to an MS Access file using OleDB
Problem In the following piece of code I am adding entries to an MS Access file using OleDB. The purpose […]
Populate the database with new tweet data from the json_cache table
Problem I’m really a newbie with code, and I wish to prepare all my statements to avoid SQL injection. I […]
Increase view counter with each page view
Problem My question is similar to before, but now the code has changed completely. I would like to understand if […]
Stored procedure to query custom data tables as dynamic SQL
Problem There’s a lot going on here, but the background for why this is necessary is that there is a […]
Using OLEDB to connect to a MS Access 2007 file
Problem I am working on a program which use OLEDB to connect to a MS Access 2007 file. My program […]
Function for inserting data into database
Problem I have this function to ease out the task of inserting data into databases. I am not very sure […]
Displaying subcategories of subcategories
Problem I wanted to know if this code is safe against SQL injection or not? Also do I need to […]
SQL injection safety check
Problem I was wondering if my code is safe for sql injection. This code just checks if the username exists […]
Read and display data from MySQL table
Problem Is there any security threat here? $con = mysqli_connect(“***”, “***”, “***”, “***”); mysqli_query($con, “set names ‘utf8′”); $id = $_GET[“id”]; […]