I am very new at php, so apologies if this is basic!!!
I have a snip of php code that I insert into html pages. It should display what the php code is calling, but nothing comes up. If I change the pages from .html to .php,
then it works perfectly, but when I change back to .html it disappears again, with just the php snip showing in the html code.
I have tested a few different .htaccess files, but so far no luck.
Can anyone help me with what I am doing wrong please.
Code is below (*****s for privacy of course) ....
<?php
readfile("http://********.com/cgi-bin/***/**.cgi/fast_search?keywords=irs+tax+relief&file=irs.txt&results=16");
?>