PHP server-side scripting on MadCap Central

Postby Davbo on Mon Feb 25, 2019 12:38 pm

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
Davbo
Propeller Head
 
Posts: 33
Joined: Thu Dec 04, 2014 5:16 am

Re: PHP server-side scripting on MadCap Central

Postby Lynn K on Tue Feb 26, 2019 5:45 pm

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/CentralProjectsAndBuildsGuide.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
Lynn K
Jr. Propeller Head
 
Posts: 2
Joined: Wed Sep 19, 2018 11:52 am

Re: PHP server-side scripting on MadCap Central

Postby Davbo on Wed Feb 27, 2019 6:12 am

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
Davbo
Propeller Head
 
Posts: 33
Joined: Thu Dec 04, 2014 5:16 am

Re: PHP server-side scripting on MadCap Central

Postby Lynn K on Wed Feb 27, 2019 12:07 pm

Thanks, David. Good to know.
Lynn K
Jr. Propeller Head
 
Posts: 2
Joined: Wed Sep 19, 2018 11:52 am


Return to Central's General Discussion

Who is online

Users browsing this forum: No registered users and 1 guest