slap me please

ogs-cs@86
gareth 2007-02-24 00:15:11 +00:00
parent 85bea7fb2e
commit e56960f4cb
1 changed files with 4 additions and 4 deletions

View File

@ -1,5 +1,5 @@
<?
error_reporting(0); // Remember kids, PHP errors kill XML-RPC responses!
error_reporting(E_ALL); // Remember kids, PHP errors kill XML-RPC responses!
// include all the common stuff
include("../common/xmlrpc.inc.php");
@ -15,9 +15,9 @@ function login($args) {
if(get_magic_quotes_gpc()) {
$firstname=add_slashes($args['first']);
$lastname=add_slashes($args['last']);
$passwd=add_slashes($args['passwd']);
$firstname=mysql_addslashes($args['first']);
$lastname=addslashes($args['last']);
$passwd=addslashes($args['passwd']);
} else {
$firstname=$args['first'];
$lastname=$args['last'];