diff options
author | tailor <mpg4@janrain.com> | 2006-09-08 18:02:42 +0000 |
---|---|---|
committer | tailor <mpg4@janrain.com> | 2006-09-08 18:02:42 +0000 |
commit | cd06bc340d59fe8e650f539679c8394ce7d089b3 (patch) | |
tree | 9f810de06a664b862c1dbd3ac8268e0cbf11d130 /examples/consumer/try_auth.php | |
parent | b52569f0469a043e9f8d96e858600c7a73f21403 (diff) | |
download | php-openid-cd06bc340d59fe8e650f539679c8394ce7d089b3.zip php-openid-cd06bc340d59fe8e650f539679c8394ce7d089b3.tar.gz php-openid-cd06bc340d59fe8e650f539679c8394ce7d089b3.tar.bz2 |
[project @ add sreg[email,postcode] support to server,consumer examples]
Diffstat (limited to 'examples/consumer/try_auth.php')
-rw-r--r-- | examples/consumer/try_auth.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/examples/consumer/try_auth.php b/examples/consumer/try_auth.php index f61b2f2..c5f7ef5 100644 --- a/examples/consumer/try_auth.php +++ b/examples/consumer/try_auth.php @@ -12,12 +12,12 @@ if (empty($_GET['openid_url'])) { } $openid = $_GET['openid_url']; -$process_url = sprintf("http://%s%s/finish_auth.php", - $_SERVER['SERVER_NAME'], +$process_url = sprintf("http://%s:%s%s/finish_auth.php", + $_SERVER['SERVER_NAME'], $_SERVER['SERVER_PORT'], dirname($_SERVER['PHP_SELF'])); -$trust_root = sprintf("http://%s%s", - $_SERVER['SERVER_NAME'], +$trust_root = sprintf("http://%s:%s%s", + $_SERVER['SERVER_NAME'], $_SERVER['SERVER_PORT'], dirname($_SERVER['PHP_SELF'])); // Begin the OpenID authentication process. |