Retrieving Global $user_ID
-
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)
Viewing 1 replies (of 1 total)
- The topic ‘Retrieving Global $user_ID’ is closed to new replies.