The Joomla! Extensions Directory ™


Add PHP Plugin

This Bot/Plugin makes it possible to integrate any PHP Scriptes into a content item/ Article. The PHP Script must be below the Joomla root directory. You should switch off the print and pdf representation possibility. How to use: {rdaddphp file=rel_path_to_the_file_with_filename} Example: joomla install directory: /var/www/joomla PHP-Files are in the directory: /var/www/joomla/myphpfiles Name of the file to include my_file.php Then you have to use it like this: {rdaddphp file=myphpfiles/my_file.php} We have versions for Joomla 1.0.x http://www.run-digital.com/download/mambots.html and for Joomla 1.5 http://www.run-digital.com/download/plugins.html

Report

2011-11-07
Reviews: 1
plz
can anyone help me
i want to know how to install this module

can anyone tell how in steps
thanks
2011-01-21
Reviews: 1
First of all thank you for this plugin. It offers a whole new world of possibilities from what I can judge so far. Great stuff.
I just have one question: I'd like to use my own captcha php file for forms that have been coded in html by my client. When I include the php file in the img-tag, it seems to have problems with the space in {rdaddphp file=myphp/captcha.php}. THe way it looks now is .
Does anyone know whether it is possible to do it that way or whether I am doing something completely wrong?
Any advise would be greatly appreciated.
2008-12-28
Reviews: 3
Comments in two languages. English after Portuguese.

I recommend.

Plugin slightly below the plugin IncludePHP.
Synthase easy: (rdaddphp file = path / arquivo.php)
Generating PHP has a small problem, not only is the content appears to tag.
2008-12-10
Reviews: 1
As a newbie it was very easy to write the hello world application on a php file and get it called in an article. i will defintly recommend.

I have now a question, I want to send a search request with a form (POST a php file that digs a db) and get the reply. I was able to do this, however, the result is displayed on a separate page and not in the template.

How can I modify this any ideas ?
cheers
Enya
2007-08-22
Reviews: 2
As PHP can generate dynamice content you need to turn off Joomla's caching. I included some PHP code that retrieves information from another database, with paging and a search box. With caching Joomla enabled you will only see the first page and no paging nor search will make difference in that.

I will report this as a bug to the authors, but I don't know if Joomla allows deactivating cache for one specifice page.
1 of 2 people found this review helpful
2007-05-11
Reviews: 5
As no one seems to realize this. I will the one to point it out.

This mambot can be a huge security risk to the installation of a Joomla site.

Just install this mambot if you truly trust all authors of your site and they understand the security problem behind this.

Including a PHP script in a content means that the script will have access to everything Joomla has. Including passwords (changing then at least) and even Erasing the whole installation/database.

The point of having the php script inside the Joomla root dir is not a big deal. It can be easily uploaded with some HTML editors, the backend or even using a broken script from some 3rd part component.
0 of 1 people found this review helpful
2007-03-07
Reviews: 1
I have been working with this mambot, and have not had any output from it. I have posted in the mambot help forum for help on the subject, but no one will even bother to look into it for me. This mambot will not produce any output for me.
1 of 1 people found this review helpful
2007-02-02
Reviews: 5
AddPHP is COOL and what Ive been searching for!

It took a while to work - but I hadnt published it im Mambots - thanks "LATTE"

can it be adapted to call external files?
2 of 3 people found this review helpful
2007-01-20
Reviews: 1
This is my second day playing with my installed Jooma. So, I really need things spelled out for me. A couple of thing I noticed.

1. The Joomla instructions on how to upload this mambot/plugin were almost correct. The folder that I ended up putting these files in was the path listed under the Joomla admin panel > Installers > Mambots. When you get to this page, you will see a field called "Install from directory." This is the path I put my 2 mambot files in. The Joomla help had this path name slighly different.

2. The second thing I missed at first was that I needed to the Joomla admin panel > Mambots > Site Mambots and click on the Published icon. Only after I did that did the code work. I'm sure these are basics, but being new, this additional information would have been helpful. I hope this helps others...

Oh - and it works like magic! I'd be lost without my php includes.
1 of 1 people found this review helpful
2006-11-25
Reviews: 1
This plugin works perfectly. Simple and straightforward.

If you need to include a bit of php in a content page (or lots of content pages), this is a fantastic, elegant solution.

My only question -- is there any way to pass a value to the php script being called? If not, could that be added in a future version?
1 of 1 people found this review helpful
2006-11-02
Reviews: 19
Okay, I am know expert...far from it, but I do know what I want. I wanted a bot (Plugin, whatever they are called) that would allow me to put MODS where I want them to be. When I saw this I thought - hey, not give it a try. BAM --- it worked magic. I use this to put mods in my content giving me incredible control of each page layout. Now, is there anyway to get more users??? 32 users is just not enough... lol ...thank you Robert Deutz (RUN DIGITAL) for the freedom you just gave me...
2 of 2 people found this review helpful
2006-10-21
Reviews: 1
smart, easy and powerfull.

remember you have to install it as a Mambot!
4 of 4 people found this review helpful
2006-10-04
Reviews: 4
Just what I was looking for. Does the job simply and effectively.

To clarify the usage syntax:

the php file to include must be within your joomla installation (i.e contained within your joomla root folder)

to include a php file, add the following plugin tag in your content editor:

{rdaddphp file=folder/file.php}

where 'folder' is the folder containing your php file and 'file.php' is your script to include.

Thanks for the great work!
2 of 2 people found this review helpful
2006-07-04
Reviews: 5
Be nice to have some english instructions for those of us limited to English. But I've figured out to use place the following in the content:

{rdaddphp file=realPathToTheFileIncludingFilename.php}

Otherwise still testing. Thanks, DANIEL...
2 of 2 people found this review helpful
2006-04-17
Reviews: 6
Thanks.