ecart 5 getting error ecart only available .php
i recently installed ecart 5 and created a .php file but when i click the add ecart object button or any other buttons, i get error "ecart is only available .php files in PHP websites. I am using Dreamweaver CS3