AMFPHP and wordpress global variables
-
Hi,
Im using AMFPHP with as3 to get some user variables from wordpress like $user_login, but I always get a null value.
this is the php code im using:
<?php class Users{ public function userData() { return $user_login; } } ?>
I put a include “../wp-blog-header.php”; under AMFPHP globals.php but nothing happens
what can i do?
i hope you can help me.
thanks!o
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘AMFPHP and wordpress global variables’ is closed to new replies.