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 all the common stuff
include("../common/xmlrpc.inc.php"); include("../common/xmlrpc.inc.php");
@ -15,9 +15,9 @@ function login($args) {
if(get_magic_quotes_gpc()) { if(get_magic_quotes_gpc()) {
$firstname=add_slashes($args['first']); $firstname=mysql_addslashes($args['first']);
$lastname=add_slashes($args['last']); $lastname=addslashes($args['last']);
$passwd=add_slashes($args['passwd']); $passwd=addslashes($args['passwd']);
} else { } else {
$firstname=$args['first']; $firstname=$args['first'];
$lastname=$args['last']; $lastname=$args['last'];