 |

bruce
User
Aug 17, 2005, 2:31 PM
Post #1 of 5
(2134 views)
Shortcut
|
|
adding php script into page
|
Can't Post
|
|
Hi, I have a php script that I would like to embed into new articles without putting it into the template used for all articles. When I try to enter it into the content area along with other html code, it gets stripped out. Any ideas Thanks Bruce LendingMax.ca
|
|
|  |
 | |  |
 |

MikeB
Staff
/ Moderator

Aug 18, 2005, 11:18 AM
Post #3 of 5
(2113 views)
Shortcut
|
|
Re: [bruce] adding php script into page
[In reply to]
|
Can't Post
|
|
Hi Bruce, Thanks for posting! I'm glad to hear you found the solution you were looking for and that you're now able to add some PHP code right into the content of your articles. If you have any other questions or comments feel free to let me know! Cheers, Mike Briggs - Product Specialist support@interactivetools.com
Hire me! Save time by getting our experts to help with your project. Template changes, advanced features, full integration, whatever you need. Whether you need one hour or fifty, get it done fast with Priority Consulting.
|
|
|  |
 |

jorel
Novice
May 14, 2007, 10:10 AM
Post #4 of 5
(1359 views)
Shortcut
|
|
Re: [bruce] adding php script into page
[In reply to]
|
Can't Post
|
|
How exactly is this accomplished. I tried a couple things but it keeps stripping out my PHP tags when I click apply. In xssfilter.ini I changed nonhtml_tags=1 (instead of 0) Then I tried adding to # Tags [tags][php] enclosing=1 What am I missing? Please help.
|
|
|  |
 |

Donna
Staff
/ Moderator

May 15, 2007, 11:14 AM
Post #5 of 5
(1348 views)
Shortcut
|
|
Re: [jorel] adding php script into page
[In reply to]
|
Can't Post
|
|
Hi Jorel, Thanks for your email. :) If you're allowing PHP directly in the articles, all of your users with access to ARticle Manager need to be absolutely trusted not to take advantage of that, as that gives them free reign over your account. In which case, you can simply disable the XSS filter all together. Add "disable_xss_filter = 1" in the <install dir>/exec/config.ini file. (without the quote marks.) You may find that it's in there already -- just remove the # from in front of it. :) Donna
Hire me! Save time by getting our experts to help with your project. Template changes, advanced features, full integration, whatever you need. Whether you need one hour or fifty, get it done fast with Priority Consulting.
|
|
|  |
|