thanks ,It save my a lot of time.I use following code,
$queryStr=str_replace('&', '&', http_build_query($openid_request));
return $openIdEndpoint.'?'.$queryStr;
but still error, the error message is change
Sorry! There is an error with the request we received from the website
you are trying to use. Please try again in a few minutes. If this error
persists please contact the site administrator.
Learn more..I don't know why?