} $out .= $r->p(implode(' ', $parts)); } else { $ok = false; $out .= $r->p('Fetching URL ' . $lnk . ' failed!'); } if ($fetcher->supportsSSL()) { $out .= $r->p('Your PHP installation appears to support SSL, so it ' . 'will be able to process HTTPS identity URLs and server URLs.'); } else { $out .= $r->p('Your PHP installation does not support SSL, so it ' . 'will NOT be able to process HTTPS identity URLs and server URLs.'); } return $ok; } header('Content-Type: ' . $r->contentType() . '; charset=us-ascii'); $title = 'OpenID Library Support Report'; $out = $r->start($title) . $r->h1($title) . $r->p('This script checks your PHP installation to determine if you ' . 'are set up to use the JanRain PHP OpenID library.'); $body = ''; $_include = (include 'Auth/OpenID.php'); if (!$_include) { $path = ini_get('include_path'); $body .= $r->p('Cannot find the OpenID library. It must be in your PHP include ' . 'path. Your PHP include path is currently:'); $body .= $r->pre($path); } else { $status = array(); $status[] = detect_math($r, $body); $status[] = detect_random($r, $body); $status[] = detect_stores($r, $body); $status[] = detect_fetcher($r, $body); $status[] = detect_xml($r, $body); $result = true; foreach ($status as $v) {
if ($fetcher->supportsSSL()) { $out .= $r->p('Your PHP installation appears to support SSL, so it ' . 'will be able to process HTTPS identity URLs and server URLs.'); } else { $out .= $r->p('Your PHP installation does not support SSL, so it ' . 'will NOT be able to process HTTPS identity URLs and server URLs.'); } return $ok; } header('Content-Type: ' . $r->contentType() . '; charset=us-ascii'); $title = 'OpenID Library Support Report'; $out = $r->start($title) . $r->h1($title) . $r->p('This script checks your PHP installation to determine if you ' . 'are set up to use the JanRain PHP OpenID library.'); $body = ''; $_include = include 'Auth/OpenID.php'; if (!$_include) { $path = ini_get('include_path'); $body .= $r->p( 'Cannot find the OpenID library. It must be in your PHP include ' . 'path. Your PHP include path is currently:'); $body .= $r->pre($path); } else { $status = array();