I’m trying to get some code to execute every time I call a file, so I want it to run through php. I can get this to work with an image like this:
<?PHP //The code I want to execute goes here $file = "bike.jpg"; header("Content-type: image/jpeg"); include($file); ?>
It works fine, but how would I do something like this where instead of having it output an image/jpeg it would be able to work with a flash movie? I tried switching the header to several different things, but I just get jumbled output in my browser when I go to the php page.