reset main file from html to php