Page 1 of 1

PHP server-side scripting on MadCap Central

Posted: Mon Feb 25, 2019 12:38 pm
by Davbo
Hi all
Can anyone tell me if PHP scripting is supported on MC Central? I have a project that uses a third-party search engine that uses PHP scripts. However, on building, the script does not run. The PHP file instead downloads locally.
Any help or ideas much appreciated.
Thanks, David

Re: PHP server-side scripting on MadCap Central

Posted: Tue Feb 26, 2019 5:45 pm
by Lynn K
If you're using pre- or post-build events, then it appears that it is not supported. I saw this passage in http://docs.madcapsoftware.com/central/ ... sGuide.pdf:

PRE- AND POST-BUILD EVENTS
If you create pre- or post-build events in your Flare target, they will not function when building from
MadCap Central.


HTH,
Lynn

Re: PHP server-side scripting on MadCap Central

Posted: Wed Feb 27, 2019 6:12 am
by Davbo
Hi all

Just in case it's of interested, MadCap support have confirmed that Central does not support any server-side scripting for security reasons. However, custom JavaScript is no problem.

Cheers

David

Re: PHP server-side scripting on MadCap Central

Posted: Wed Feb 27, 2019 12:07 pm
by Lynn K
Thanks, David. Good to know.