I want to run a widget that is in the form of script tag on my personal server, which is Ubuntu, and show it on another site. How to do this with PHP? *Consider that I want to receive script information on my server (server side render) and only display it on a Wordpress site. the script:
<script type="text/javascript">
DukascopyApplet = {
"type": "chart",
"params": {
"showUI": true,
"showTabs": true,
"showParameterToolbar": true,
"showOfferSide": true,
"allowInstrumentChange": true,
"allowPeriodChange": true,
"allowOfferSideChange": true,
"showAdditionalToolbar": true,
"showDetachButton": true,
"presentationType": "candle",
"axisX": true,
"axisY": true,
"legend": true,
"timeline": true,
"showDateSeparators": true,
"showZoom": true, "showScrollButtons": true,
"showAutoShiftButton": true,
"crosshair": true,
"borders": false,
"theme": "Pastelle",
"uiColor": "#000",
"availableInstruments": "l:",
"instrument": "EUR/USD",
"period": "7",
"offerSide": "BID",
"timezone": 0,
"live": true,
"panLock": false,
"width": "100%",
"height": "600",
"adv": "popup"
}
};
</script>
<script type="text/javascript" src="https://freeserv-static.dukascopy.com/2.0/core.js"></script>