How do I prevent PHP files from downloading automatically (hoster all-inkl.com)?

I have the problem described above. My website consists of HTML code, in which I include headers and footers using PHP. I still write the code myself and don't use WordPress. I parse these HTML files into PHP using an entry in the .htaccess file. Example .htaccess entry: AddType application/x-httpd-php .htm .html .php AddHandler server-parsed…

PHP: Universal function to randomly call multiple different script sections?

Here's the question: I have several scripts that have different functions. Do this, do that… Now I would like to add a function at the beginning of the script that randomly decides (random numbers?) which function section is parsed (skipped) or which included file is called or executed by the script when the script is…