Adding changes from production server. Pls, stop making changes live. Hrmpf.

This commit is contained in:
thomas committed 2010-09-13 21:15:05 +02:00
1 parent 243008cff5
commit ca1fcc8173
104 files changed
+9231 -4853

No files matched your search

+4 -4
View File
@@ -7,10 +7,10 @@ print('<?xml version="1.0" encoding="ISO-8859-1"?'.'>');
$conn = db_connect();
$action = mysql_real_escape_string($_REQUEST['action']);
$action = $_REQUEST['action'];
if ($action == 'checkZip'){
$zip = mysql_real_escape_string($_REQUEST['zip']);
$zip = $_REQUEST['zip'];
if ($zip != "") {
$sql = "SELECT poststed AS postarea
FROM din_postnummer
@@ -72,7 +72,7 @@ if ($action == 'checkZip'){
printRemoveCatXML($type);
}else if ($action == 'checkUsername') {
$username = mysql_real_escape_string($_REQUEST['username']);
$username = $_REQUEST['username'];
$conn = db_connect("forum");
$sql = sprintf("SELECT user_id FROM phpbb_users u "."WHERE username_clean = '%s' ", strtolower($username));
$result = & $conn->query($sql);
@@ -114,4 +114,4 @@ function printRemoveCatXML($type){
<?php
}
?>
?>