Is it possible to output PHP?


#1

Hi @DeadLetter

Is it possible to have pure PHP output.

To show say “Hello World!”
<?php "<p>Hello World!</p>"; ?>


#2

That’s an interesting one! It’s certainly possible to output a text file containing php script - or are you trying to change the output file format from .txt to .php?


#3

I’ve managed that but I need change the output format to .php


#4

Hi Denzel

It’s not something we’d suggest .txt is more difficult for someone to mistreat or inadvertently send malicious code to your server (etc).

That said you can set the output using advanced inputs within your Author Key.

Just add;

?RW_F -- _ALL  ‘.TXT’ = {.php}