How to override .htaccess header with php

is there a way to override .htaccess headers with php?
my htaccess has currently this header:
Header set Cache-Control “max-age=2592000, public”
which forces any html document to be cached.

but i want to give a no-cache header to a specific php file. but i cant override the .htaccess’s caching header. so that php output is always gets cached.

do any of you guys know how to override it? :shifty: