Changeset 67 for trunk/img_statistic.php
- Timestamp:
- Feb 5, 2009, 11:12:54 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/img_statistic.php
r57 r67 1 1 <?php 2 2 3 session_start(); 4 include('includes/config.php'); 5 include('includes/databaseconection.php'); 6 include('includes/global_function.php'); 7 8 // SQL injection hack protection 9 foreach($_POST as $Index => $Item) $_POST[$Index] = addslashes($_POST[$Index]); 10 foreach($_GET as $Index => $Item) $_GET[$Index] = addslashes($_GET[$Index]); 11 12 // Open database connection 13 $Database = new Database($Config['Database']['Host'], $Config['Database']['User'], $Config['Database']['Password']); 14 $Database->SQLCommand('SET NAMES '.$Config['Database']['Charset']); 15 $Database->SelectDatabase($Config['Database']['Database']); 3 include('includes/global.php'); 16 4 17 5 $FontFile = 'images/FRIZQT__.ttf';
Note:
See TracChangeset
for help on using the changeset viewer.