Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
php code in page body?
#6
Hi, I'd like to know how to use the Exec-PHP plugin along with CKEditor.

The plugin works well at first glance - if I insert for example <?php echo getrandmax(); ?> in source-editing mode through the editor the page displays correctly 2147483647. But if I edit the same page (anywhere else) the editor automatically replaces the above mentioned php code with <!--?php echo getrandmax() ?--> and there is a blank place instead of the number in the webpage then.

This way the Exec-PHP plugin is unusable. Is it necessary to somehow reset the editor so that this plugin can be used?
Thank you.

Reply


Messages In This Thread
php code in page body? - by ash - 2011-04-30, 01:14:13
RE: php code in page body? - by lotova - 2018-01-10, 21:55:49
RE: php code in page body? - by Oleg06 - 2018-01-10, 23:58:02
RE: php code in page body? - by Bigin - 2018-01-10, 23:55:07
php code in page body? - by ccagle8 - 2011-04-30, 01:27:40
php code in page body? - by Carlos - 2011-04-30, 01:29:44
php code in page body? - by ash - 2011-04-30, 01:30:46
php code in page body? - by ccagle8 - 2011-04-30, 01:33:42



Users browsing this thread: 1 Guest(s)