• I am needing to retrieve the get_currentuserinfo for a custom page. The code below works in Explorer but it does not seem to work in FireFox or Safari. Anybody have any ideas why?

    <?php
    require_once ‘../wp-config.php’;
    global $current_user;
    get_currentuserinfo();
    $member_online = $user_ID;
    ?>

    Thanks for any help!
    Voogah!

Viewing 1 replies (of 1 total)
  • Thread Starter voogah

    (@voogah)

    I also tried retrieving the login cookies from wordpress.

    Again, IE finds them but Safari just prints out the names of the cookie but not the actual contents in the cookie.

    Any help!

    It is able to find the global variables in the actual theme pages because it says my name when I enter the site.

    I have one custom page that I need to find the current_ID, again it works in IE but not Safari browsers.

    NEED HELP!

Viewing 1 replies (of 1 total)
  • The topic ‘Retrieving Global $user_ID’ is closed to new replies.