summary refs log tree commit diff stats
path: root/includes/db.php
diff options
context:
space:
mode:
authorStar Rauchenberger <fefferburbia@gmail.com>2024-01-08 20:31:32 +0000
committerStar Rauchenberger <fefferburbia@gmail.com>2024-01-08 20:31:32 +0000
commit5b892eafafb1f41bab1a20f1524cef144042e3e1 (patch)
tree69d3c6eb5439d02a44fefa3af3dac6e13901a7d0 /includes/db.php
parente0eb4e7dd88789432b50260276bfd06242a8ebf6 (diff)
downloadpillowcase-5b892eafafb1f41bab1a20f1524cef144042e3e1.tar.gz
pillowcase-5b892eafafb1f41bab1a20f1524cef144042e3e1.tar.bz2
pillowcase-5b892eafafb1f41bab1a20f1524cef144042e3e1.zip
sql injection prevention
Diffstat (limited to 'includes/db.php')
-rwxr-xr-xincludes/db.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/includes/db.php b/includes/db.php index a763283..6554b8a 100755 --- a/includes/db.php +++ b/includes/db.php
@@ -1,8 +1,9 @@
1<?php 1<?php
2 2
3include($_SERVER['DOCUMENT_ROOT'] . '/../security/pillowcase.php'); 3include_once('fix_mysql.inc.php');
4include('/srv/www/security/pillowcase.php');
4 5
5mysql_connect($dbhost, $dbuser, $dbpasswd); 6$mysql_conn = mysql_connect($dbhost, $dbuser, $dbpasswd);
6mysql_select_db($dbname); 7mysql_select_db($dbname);
7 8
8?> 9?>