We always in need of executing php scripts inside wordpress posts….here is the ultimate solution..There are many versions in other sites which have much bugs in them,causing them to fail…Download EXEC-PHP plugin for word press from here and enjoy running php scripts….
What u need to do..
1.Download the latest Exec-PHP plugin archive from the link below and extract the files
2.Now,Copy the extracted resulting Exec-php folder into /wp-content/plugins/
4. A warning is produced on the ‘Write’ dialog or ‘Widgets’ menu respectively if user settings are not appropriate to write PHP code,
so the warning will be highlighted at top…In admin panel, u should take user and then your profile options.Then,The WYSIWYG Conversion Warning can be turned off,to removing the warning…