I was wondering if it is possible to run a PHP script such as one of those in the /scripts folder from a trigger event, so for example when an asset is created I could run the script to perform some further actions? Any suggestions appreciated.
Trigger a php script
No this isn't possible. Feels like there would be some major security risks to expose something like that.
What kind of script are you wanting to run?
Thanks for the quick reply. I was thinking about the import_from_xml.php script to run an action to add some metadata (generated by a third party) for a standard page as it's created. Looking at the manuals maybe setting up the Soap server would be a better option, if that can be locked down so the public can't use it? Does that sound like a better option?
[quote]
Looking at the manuals maybe setting up the Soap server would be a better option, if that can be locked down so the public can't use it? Does that sound like a better option?
[/quote]
I have used the SOAP Server extensively. Yes, there is a loginUser function that you can use to authenticate the user before using any of the other functions.
Cheers I'll have a play with SOAP and see how I get on then.
[quote]
I have used the SOAP Server extensively. Yes, there is a loginUser function that you can use to authenticate the user before using any of the other functions.
[/quote]