PHP Consumer Example/ Extension Arguments
Paul Tanner
paul at virtual-techno.com
Tue Apr 10 01:24:03 PDT 2007
Spent some time trying to find simple consumer examples in PHP. The
problem was that I was using the 1.2.1 PHP library download which did
not include an examples directory. That is now resolved with the
1.2.2 download and the consumer example works fine. Except:
To test Extension Arguments I added in try_auth.php
$auth_request->addExtensionArg('sreg', 'optional', 'postcode); #
just after the similar line for email
This had the effect of correctly passing the postcode from my OpenID
through to finish_auth.php. However , it caused the email address to
no longer be passed. Is this a defect or is there a problem with
passing more than one extension argument?
More information about the Dev
mailing list