Remove index.php file in codeigniter OR wordpress on windows server

Remove index.php file in Codeigniter or wordpress or other freamwork  on Windows IIS7 Server Here i have share my experience when i faced problem with windows server,  my post english is not well but i have share my thoughts so if anyone have suggestion please share your thoughts with me. In Codeigniter or wordpress  .htaccess file…

Convert stdClass object to array in pHp

Object to array convert in php For e.g Array ( [0] => stdClass Object ( [user_id] => 10 ) [1] => stdClass Object ( [user_id] => 20 ) ) Convert into array Array ( [0] => 10 [1] => 20 ) $array = json_decode(json_encode($object),true);