Thread subject: pHpFusion Nederlands (BE|NL) » Ondersteuning, Themas, Infusies, Modificaties en Installatie :: Panel Code Needed

Posted by afoster on 15 April 2019, 20:46
#1

I am trying to set up a panel (side or top) to display a page from a link on another domain and can't seem to get the code right to do so. Can anyone help me with this? Here is the code I am using:

Code

openside("name");
echo "(file_get_contents('http://www.domain.com/calendar/display2.php'))";
closeside();


This just gets me a blank panel. The link works if I just enter the url in a browser.

Edited by afoster on 01 January 1970, 00:00

Posted by douwe_yntema on 16 April 2019, 19:21
#2

I use an iFrame to embed the external site. However some sites do not allow to be displayed in an iFrame

Posted by afoster on 16 April 2019, 19:41
#3

That is probably what I will use, thanks.