From f94170a65c5585a2c955d14360becd3e2ca98ac2 Mon Sep 17 00:00:00 2001 From: Christophe Nowicki Date: Thu, 23 Sep 2004 16:00:54 +0000 Subject: Group misc functions into misc.php on the idp and sp Add Federation Terminaison metadata on the idp and sp Add view off federation on the sp Add cancel federation button on the sp and idp Defederation is not working yet --- php/Attic/examples/sample-idp/setup.php | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'php/Attic/examples/sample-idp/setup.php') diff --git a/php/Attic/examples/sample-idp/setup.php b/php/Attic/examples/sample-idp/setup.php index 5284f886..6aa7f613 100644 --- a/php/Attic/examples/sample-idp/setup.php +++ b/php/Attic/examples/sample-idp/setup.php @@ -222,6 +222,16 @@ print "OK"; + print "
Insert user 'test' into 'users' : "; + + $query = "INSERT INTO users(user_id, username, password, created) "; + $query .= "VALUES (nextval('user_id_seq'), 'test', 'test', NOW())"; + + $res =& $db->query($query); + if (DB::isError($res)) + die($res->getMessage()); + print "OK"; + print "
Create table 'nameidentifiers' : "; $query = "DROP TABLE nameidentifiers CASCADE"; -- cgit