Search found 4 matches

by elseman
Mon Jun 11, 2018 2:30 pm
Forum: General
Topic: How to use executable php in posts
Replies: 8
Views: 4293

Re: How to use executable php in posts

In this case we have to know what the code executes, and why it is not possible using a template. And: Why PHP is needed and it cannot be done using JavaScript or jQuery. the code executes wide range of tasks, from "hello world" and phpinfo(); to asking number of different API's and gener...
by elseman
Mon Jun 11, 2018 1:09 pm
Forum: General
Topic: How to use executable php in posts
Replies: 8
Views: 4293

Re: How to use executable php in posts

I use heavyweight CMS, and there is no this feature too, I'm using workaround for WP, which takes 20 strings of code in 1 php file. Maybe someone can write code better than us, and will share some? I want use different PHP code in different Bludit posts. I need somethink like [exec] [/exec] tag, whi...
by elseman
Mon Jun 11, 2018 12:10 pm
Forum: General
Topic: How to use executable php in posts
Replies: 8
Views: 4293

Re: How to use executable php in posts

I want use different PHP code in different Bludit posts.
I need somethink like [exec] [/exec] tag, which will be interpreted as pure PHP.
This will allow to use custom PHP code on any page, as much times, as needed.
by elseman
Mon Jun 11, 2018 10:32 am
Forum: General
Topic: How to use executable php in posts
Replies: 8
Views: 4293

How to use executable php in posts

I need to embed executable php code in posts. Is there any hack for it?