is_valid === true ) { $p = '

From:'. htmlentities($_SESSION['claimed_url']) . '
Date:' . date("Y-m-d H:i") . '
Comment:' . htmlentities($_SESSION['payload']) . '

'."\n\n"; $f = fopen('guestbook.txt', 'a'); fwrite($f, $p); $error='

Posted Comment

'; } else { if($c->error) { $error = '

'.$c->error.'

'; } else { $error = '

Error affirming identity.

'; } } } ?> Alan J Castonguay OpenID Stateless Guestbook

OpenID Stateless Guestbook Demo

by alan.openid@verselogic.net

This is a working example of a stateless dumb-mode OpenID consumer, in php. source code.

This code is old See v0.2! A demo of version 0.2 is available, though full ajax support is not working yet.

OpenID:

Comment:


Comments: (read new)

Top of Page