Page 1 of 1

Is there a right or wrong way of embedding php code

Posted: Sun Dec 12, 2021 10:09 am
by gray
Is there a right or wrong way of embedding php code.

Straight php code or using include statement (for more security)

Any tips please.

Obviously the template has to be published and be behind a mysql server.

Any tips, especially security.

TIA

Re: Is there a right or wrong way of embedding php code

Posted: Sun Dec 12, 2021 11:13 am
by Pablo
It depends on the code you are adding.
You can add custom code via Page HTML or an HTML object.