How to add Java Script, Python OR PHP code to body page ?
I tried embedded but code not working
Below is the PHP code
<?php $curl = curl_init(); $url = "https://v1.nocodeapi.com/ccpl/link_preview/peQxHGYRLrIFRvJd?url=<https://www.canada.ca/en/immigration-refugees-citizenship/services/coronavirus-covid19/students.html>"; curl_setopt_array($curl, array( CURLOPT_URL => $url, CURLOPT_CUSTOMREQUEST => "GET", CURLOPT_HTTPHEADER => array( "Content-Type: application/json" ), )); $response = curl_exec($curl); curl_close($curl); echo $response;
-
Hi
unfortunately, on a Brizy page, you can only add HTML Code, CSS and JavaScript. For this, you can use the Embed element.
You could try using shortcodes to add PHP to a page. But, this is not a tested method so I can't guarantee it will work well.
0
Please sign in to leave a comment.
Comments
1 comment