集成PHP网站与Word preSS用户认证 [英] Integrate PHP website with Wordpress user authentication

查看:132
本文介绍了集成PHP网站与Word preSS用户认证的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个现有的Word preSS网站,要求用户登录,如果他们想访问更多的内容(满的故事,过去的故事的档案,等等)。

I have an existing Wordpress website that requires users to login if they want to access additional content (full stories, archive of past stories, etc).

我已经建立了使用PHP和MySQL,这将是一个不同的服务器上承载的新网站。该网站面向谁pviously访问网站的文章提到的$ P $相同的受众。

I've built a new website using PHP and MySQL that will is hosted on a different server. This website is intended for the same audience who visit the article website mentioned previously.

新网站将提供数据库访问的内容是不公开的,我想用已使用的字preSS网站的登录信息进行身份验证的游客。

The new website will provide access to database content that is not publicly available and I would like to authenticate visitors using the login details already used by the Wordpress website.

有没有API调用,将使用PHP允许来自其他服务器反字preSS用户帐户验证?

Are there API calls that would allow authentication against the Wordpress user accounts from the other server using PHP?

推荐答案

您可以使用验证他们的身份:
HTTP://$c$cx.word$p$pss.org/Function_Reference / wp_signon

you can authenticate them using: http://codex.wordpress.org/Function_Reference/wp_signon

这篇关于集成PHP网站与Word preSS用户认证的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆