Search
Code Directory
 ASP
 ASP.NET
 C/C++
 CFML
 CGI/PERL
 Delphi
 Development
 Flash
 HTML
 Java
 JavaScript
 Pascal
 PHP
 Python
 SQL
 Tools
 Visual Basic & VB.NET
 XML
New Code
phpEnter 5.1.
Udemy Clone script 2.01
VisualNEO Web 19.11.7
VisualNEO for Windows 19.4.29.0
SentiVeillance SDK Trial 7.3
Devart ODBC Driver for PostgreSQL 3.2
SecureBridge 9.2
dotConnect for QuickBooks 1.9
dotConnect for Magento 1.9
dotConnect for Zoho CRM 1.10
dotConnect for FreshBooks 1.10
IP2Location Geolocation Database January.2020
dotConnect for BigCommerce 1.10
HTMLPad 2020 16.0
WeBuilder 2020 16.0
Top Code
SecureBridge 8.0
IP2Location Geolocation Database January.2020
Eclipse Unicode View 1.0
ATN Site Builder 3.0
Java Code Checker (JCC) 1.0
phpEnter 5.1.
ADO.NET Provider for ExactTarget 1.0
ATN Resume Finder 2.0
Ledger Accounting for Firebird/Interbase
Java source code cross-reference tool rc
Multiplication table
Solid File System OS edition 5.1
TAdvGlowButton 1.2
2daybiz Custom t-Shirt Design Script 3.0
Java Pattern Processor rc
Top Rated
phpEnter 5.1.
Single Leg MLM 1.2.1
Azizi search engine script PHP 4.1.10
Paste phpSoftPro 1.4.1
Extreme Injector 3.7
Deals and Discounts Website Script 1.0.2
ADO.NET Provider for ExactTarget 1.0
Solid File System OS edition 5.1
Classified Ad Lister 1.0
Aglowsoft SQL Query Tools 8.2
Invoice Manager by PHPJabbers 3.0
ICPennyBid Penny Auction Script 4.0
PHP Review Script 1.0
ATN Resume Finder 2.0
ATN Site Builder 3.0
DirectPHP 1.06
File ID: 97385






DirectPHP 1.06
Download DirectPHP 1.06http://www.kksou.comReport Error Link
License: Freeware
File Size: 10.0 KB
Downloads: 7
Submit Rating:
DirectPHP 1.06 Description
Description: DirectPHP - a plugin that allows direct embedding of PHP commands right inside Joomla content page!

Note: If you're using DirectPHP with Joomla 1.5.8 and above, please refer to the post by Teezone for some useful tips.
http://www.kksou.com/php-gtk2/DirectPHP/1201-ReDirectphp-is-not-work-in-TinyMCE-WYSIWYG-Editor/Page-2.php?limit=10&limitstart=10#1201

Latest Update
=============
Latest version: 1.06 (for Joomla 1.0) and 1.56 (for Joomla 1.5).
Added one more parameter "Using No Editor". If you're not using any editor when editing content articles, select 'yes' for this parameter. This will allow you to freely use any HTML tags (such as or ).

Latest version: 1.05 (for Joomla 1.0) and 1.55 (for Joomla 1.5).
Main update: Thanks to Salvatore who informed me about some "mysterious" double-byte characters that get inserted into the DirectPHP code by the content editor of some of the non-English Joomla. These double-byte characters will cause error when processing the PHP commands with eval(). Have fixed this in this version.

Latest version: 1.04 (for Joomla 1.0) and 1.54 (for Joomla 1.5).
Main update: now works with PHP4!

Background
==========

Like many other PHP programmers who use Joomla, all I wanted is a simple wish: the ability to include PHP in Joomla content page.

I did some research. Looks like currently the best plugin out there with good user feedback is Jumi. I tried. It works. But something is still missing. The problem I have with Jumi is that it only allows you to call or include another .php file. It doesn't allow you to include PHP commands right inside the content page.

What this means is that to run some PHP commands, you have to put them in an intermediate PHP file. You have to have this intermediate file even if all you want is to display the current date and time with "echo date('Y-m-d H:i:s')"! Imagine having hundreds of dynamic content pages. The intermediate files accumulate more and more and become difficult to maintain.

This is the reason I developed DirectPHP - a plugin that allows direct embedding of PHP commands right inside Joomla content page!

Key Features
============

* You can write direct PHP statements right inside the content page using the standard the standard php construct.

* You can freely intermix static contents with php commands.

* You can edit the php code right inside the default TinyMCE WYSIWYG Editor!

* You can easily serve different contents for registered and non-registered members.

* You can use 'include' or 'require' to load in your favorite PHP library and call any of the functions inside the library.

* Ability to block potentially "risky" commands, e.g. system, fopen, unlink, rmdir, etc. You can add and edit this list of commands-to-block yourself.

License: Freeware

Related: Joomla, Content, commands, inside, directphp, Include, intermediate, Direct, Version, Plugin, doublebyte, Editor, Parameter, Main, freely, Library

O/S:BSD, Linux, Solaris, Mac OS X

File Size: 10.0 KB

Downloads: 7



More Similar Code

This plugin allows you to include php commands inside the Section/Category description.

The DirectPHP plugin
http://extensions.joomla.org/component/option,com_mtree/task,viewlink/link_id,4470/Itemid,35/
which I released in March 2008 allows you to include PHP commands in content items only.

With this plugin, you can now include PHP commands right inside the Section/Category description.

Please click...

User Review for DirectPHP
- required fields
     

Please enter text on the image