how could i run my php code using joomla?

i've tried it embedding in the articles and it runs, however, i have buttons in my page and it executes a certain command, now what i want to do is that i have my separate php program and it is just embedded in joomla once that is clicked, it will execute my php file...

thanks in advance...

Member Avatar for diafol

There is a DirectPHP plug-in, but I haven't used it myself. If you are going to use it, make sure you back up your data first and check the version - some version have reported deleted HTML tags - but I have not looked into this.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.