diff options
Diffstat (limited to 'examples/server/about.php')
-rw-r--r-- | examples/server/about.php | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/examples/server/about.php b/examples/server/about.php new file mode 100644 index 0000000..b8c7063 --- /dev/null +++ b/examples/server/about.php @@ -0,0 +1,18 @@ +<?php $title = 'PHP OpenID Server Example'; ?> +<html> + <head> + <title><?php print $title; ?></title> + </head> + <body> + <h1><?php print $title; ?></h1> + <p> + This is an example PHP OpenID server. It is using the <a + href="http://www.openidenabled.com/openid/libraries/php">JanRain + PHP OpenID library</a>. This server will approve any request + for the URL <?php +$esc_id = htmlspecialchars($success_identity, ENT_QUOTES); +print "<a href='$esc_id'>$esc_id</a>"; + ?> and reject requests for any other URL. + </p> + </body> +</html> |