Accessing Global Vars & Functions in custom php page
<p>I have created a php page called "test.php" and uploaded this file to the root
folder of my wordpress installation.</p>

<p>This file contains only this:</p>

<pre><code>&lt;?php if ( is_user_logged_in() ) { blah..... }  ?&gt;
</code></pre>

<p>I need to check if user is logged in and if so, get some details.</p>

<p>So what I need to know is what wp file(s) I need to include in my php file to be able to get the results of this function and also I prob need to check on an id, username.</p>
