Firefox PHP

PlugIn for running PHP-code

Posted by marc_jentsch 
All files from this thread

File Name File Size   Posted by Date  
bbcode_php.zip 3.2 KB open | download marc_jentsch 01/12/2011 Read message
bbcode_php_1.1.1.zip 3.1 KB open | download marc_jentsch 01/12/2011 Read message
PlugIn for running PHP-code
January 12, 2011 09:57AM
Hello,

I'm new here ...



i wrote a module for running PHP-code inside of a post. I use PHORUM like a CMS and find it useful to be more "flexible" in my posts. The plugin allows administrators and users of a special group (defined in the module-settings) to run PHP-code in their posts.

Usage / Example:
[php]<?php echo time(); ?>[/php]

Attention:
It might be useful to switch off the auto-url/email-completetion of the bbCode-module. It can crash the php-code.

have fun

Marc :)
Attachments:
open | download - bbcode_php.zip (3.2 KB)
Re: PlugIn for running PHP-code
January 12, 2011 10:41AM
This is a module in my opinion and therefore should be posted in the modules forum in the format defined there.

Also it seems like you allow/disallow to *see* parsed php code depending on the user looking at a post, not depending on the posting user.


Thomas Seifert
Phorum Development Team / Mysnip-Solutions.de
Custom Phorum and general software development
worry-free Phorum Hosting
Re: PlugIn for running PHP-code
January 12, 2011 11:29AM
You are right, pfff, that happens without testing ... ;) I have changed it ...



Edited 1 time(s). Last edit at 01/12/2011 12:13PM by marc_jentsch.
Attachments:
open | download - bbcode_php_1.1.1.zip (3.1 KB)
Sorry, only registered users may post in this forum.

Click here to login