slap me please
parent
85bea7fb2e
commit
e56960f4cb
|
@ -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'];
|
||||||
|
|
Loading…
Reference in New Issue