From 0abfa7d0c8bac90e291cf7664a0302aa286f716d Mon Sep 17 00:00:00 2001 From: Christophe Nowicki Date: Fri, 10 Sep 2004 15:17:36 +0000 Subject: Use header("Location: $url\n\n") instead of header("Location: $url") Secure every SQL query with the quoteSmart methode. Completely rewrite singleSignOn.php, now the code is more easy to understand and more clean. --- php/Attic/examples/sample-sp/index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'php/Attic/examples/sample-sp/index.php') diff --git a/php/Attic/examples/sample-sp/index.php b/php/Attic/examples/sample-sp/index.php index 99c39bb9..c7b2d39b 100644 --- a/php/Attic/examples/sample-sp/index.php +++ b/php/Attic/examples/sample-sp/index.php @@ -127,7 +127,7 @@ You can get more informations about Lasso at
if (DB::isError($res)) print $res->getMessage(). "\n"; - list($user_id, $identity_dump, $first_name, $last_name, $created, $last_login) = $res->fetchRow(); + list($user_id, $identity_dump, $first_name, $last_name, $last_login, $created) = $res->fetchRow(); ?> -- cgit