Can i use php code in a knowledgebase article?

Helpdesk for my helpdesk software

Moderator: mkoch227

Post Reply
Hidroxid
Posts: 16
Joined: Wed Mar 16, 2016 11:29 pm

Can i use php code in a knowledgebase article?

Post by Hidroxid »

Script URL: microtech.com.ve
Version of script: 2.8.2
Hosting company:
URL of phpinfo.php:
URL of session_test.php:
What terms did you try when SEARCHING for a solution: php in article, htmlpurifier configuration

Write your message below:
Hi
I need that an article of the knowledgebase use information from php, i need use the tags <?php ... code ... ?>

Can i do that?

Thanks!
Klemen
Site Admin
Posts: 10143
Joined: Fri Feb 11, 2005 4:04 pm

Re: Can i use php code in a knowledgebase article?

Post by Klemen »

No, allowing that would be a huge security risk.

If you want to achieve that you could edit article contents directly in the database. For example, place CODE_HERE in the article then edit the article in MySQL and replace CODE_HERE with your PHP code. Obviously, the code will be removed again if you edit and save the article from the editor.
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here Image

Image You should follow me on Twitter here

Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...

Also browse for php hosting companies, read php books, find php resources and use webmaster tools
Post Reply