hi guys, is there a way to call php functions wihtin a .htm file, for example

let's say i have a script which checks for a cookie for user preferences. and a seperate .htm file which uses these information, how is it achieved?