Add PHP 
Version
5.0 (last update on Apr 17, 2008)
Rating
Compatibility
Votes
17
Favoured
16
License
GPL
Non-Commercial
Type
Views
92672
Date Added
5 March 2006
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.
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.
byenyab on December 10, 2008
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
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
bycom2 on August 22, 2007
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.
I will report this as a bug to the authors, but I don't know if Joomla allows deactivating cache for one specifice page.
byrsd on May 11, 2007
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.
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.
byiceregent on March 7, 2007
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.
byTirrawarra on February 2, 2007
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?
It took a while to work - but I hadnt published it im Mambots - thanks "LATTE"
can it be adapted to call external files?
bylatte on January 20, 2007
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. 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.
byjmbesq on November 25, 2006
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?
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?
bywilliam_the_artist on November 2, 2006
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...
byturboz on October 21, 2006
smart, easy and powerfull.
remember you have to install it as a Mambot!
remember you have to install it as a Mambot!
bydavidwhthomas on October 4, 2006
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!
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!
bydlljunk on July 4, 2006
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...
{rdaddphp file=realPathToTheFileIncludingFilename.php}
Otherwise still testing. Thanks, DANIEL...
byakolar on April 17, 2006
Thanks.






