Add PHP

Version
5.0 (last update on Apr 17, 2008)
Rating
Compatibility
Votes
Favoured
16
License
GPLv2 or later
Non-Commercial
Type
Views
173180
Date Added
5 March 2006
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.
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.
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
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.
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.
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?
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.
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?
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...
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!





