phpCAS  version 1.4.0
create_pgt_storage_db_table.php
Go to the documentation of this file.
1 <?php
2 
23 // Load the settings from the central config file
24 require_once 'config.php';
25 // Load the CAS lib
26 require_once $phpcas_path . '/CAS.php';
27 
28 
29 // Dummy client because we need a 'client' object
32 );
33 
34 // Set the torage object
37 );
38 $cas_obj->init();
39 $cas_obj->createTable();
40 ?>
41 <html>
42  <head>
43  <title>phpCAS PGT db storage table creation</title>
44  <link rel="stylesheet" type='text/css' href='example.css'/>
45  </head>
46 <body>
47 <div class="success">
48 <?php
49 echo 'Table <b>' . $db_table . '</b> successfully created in database <b>' . $db . '</b>';
50 ?>
51 </div>
52 </body>
53 </html>
Definition: CAS.php:281
$db_table
$phpcas_path
$driver_options
const CAS_VERSION_2_0
Definition: CAS.php:78
$db_password
$db_user
$cas_host
$cas_context
$cas_port