May 2012
3 posts
Nintriva, India, Web & Mobile Development Company... →
9 tags
Role Based Access Control (RBAC) In Yii-framework
RBAC is one of the good feature we have in yii framework. But i did n’t understand it clearly in the begging. Now by referring several documents i understand the working of Role Based Access Control. Setting AuthManager First go protected/config/main.php and add authManager into application component
‘components’=>array( /*. ...
Inappropriate value for facebook userID or Integer...
This issue occurs in when we are displaying facebook Id of some user where user id greater than 10 digit number that is integer of bigint type it show something like this 1.34234422 +E03 we can solve to ways
1 using regular expression
$friends = json_decode(preg_replace(‘/”uid”:(\d+)/’, ‘“uid”:”$1”’, $output),true); $ output is...