In order to use exec-php , u must deactivate your articles editor then you can insert your php script into articles, there's an easy way to do it just install the pluggin "Deactivate Visual Editor", and then in your script page, insert into fields name & value , Name:deactivate_visual_editor value:true you can see that in the bottom of your page editor.