[wp-hackers] Use WP User Validation for Non-WP Pages

rajasekharan websweetweb at gmail.com
Mon Aug 24 20:24:10 UTC 2009


Chris,

If you include the wp-config.php file in the beginning of your php page, 
you can bring the entire wordpress API
into scope of your script. From there you can do whatever user 
validation you need.

Raj Sekharan

Chris Williams wrote:
> Let me clarify, these pages will be fully part of the site, including
> headers/footers as required, they just won't have a "loop".
>
> Thanks in advance,
> Chris
>
>    
>> From: Chris Williams<chris at clwill.com>
>> Reply-To:<wp-hackers at lists.automattic.com>
>> Date: Mon, 24 Aug 2009 10:23:37 -0700
>> To:<wp-hackers at lists.automattic.com>
>> Subject: [wp-hackers] Use WP User Validation for Non-WP Pages
>>
>> I want to have some pages on my site, mostly a WP blog, accessible to only
>> WP logged in users.  These are not WP pages, but other PHP-coded pages.
>>
>> Pointers to references on how to accomplish this are appreciated.
>>
>> Thanks,
>> Chris
>> _______________________________________________
>> wp-hackers mailing list
>> wp-hackers at lists.automattic.com
>> http://lists.automattic.com/mailman/listinfo/wp-hackers
>>      
>
> _______________________________________________
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-hackers
>
>    



More information about the wp-hackers mailing list