Insert php code into FCKEditor

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
shuchitaumehta
Forum Newbie
Posts: 15
Joined: Tue Jul 01, 2008 2:10 am

Insert php code into FCKEditor

Post by shuchitaumehta »

hello

i m trying to include html file in fck editor

i made this active in config file

FCKConfig.ProtectedSource.Add( /<\?[\s\S]*?\?>/g ) ;


my source of FCK is

<?php include("testinclude.html");?>

but its not working..

can u please help me...

thx in advance
User avatar
aceconcepts
DevNet Resident
Posts: 1424
Joined: Mon Feb 06, 2006 11:26 am
Location: London

Re: Insert php code into FCKEditor

Post by aceconcepts »

I often find that when i make a config change with FCK it doesn't take effect. However, when i closed all of my browsers and re-opened them, it worked.

Weird eh!! Give it a go.
Post Reply