Main
Index
Search
Posts
Who's
Online
Log
In

Home: Discontinued/Classic Products: Article Manager 1:
adding php script into page

 

 


bruce
User

Aug 17, 2005, 2:31 PM

Post #1 of 5 (4244 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


bruce
User

Aug 17, 2005, 2:41 PM

Post #2 of 5 (4243 views)
Shortcut
Re: [bruce] adding php script into page [In reply to] Can't Post

Woops, sorry I found it...



http://www.interactivetools.com/docs/doc.cgi?/articlemanager/admin/doc_page61.html



Thanks


MikeB
Staff / Moderator


Aug 18, 2005, 11:18 AM

Post #3 of 5 (4223 views)
Shortcut
Re: [bruce] adding php script into page [In reply to] Can't Post

Hi Bruce,

Thanks for posting! Smile

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! Smile

Cheers,
Mike Briggs - Product Specialist
support@interactivetools.com

[hr][i][url "http://www.interactivetools.com/consulting/"][b]Hire me![/b][/url]
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 [url "http://www.interactivetools.com/consulting/"][b]Priority Consulting[/b][/url].[/i]


jorel
Novice

May 14, 2007, 10:10 AM

Post #4 of 5 (3469 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 (3458 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

--
support@interactivetools.com