How to display content from a page on another site without its header and footer?

Hello,

How to display a specific block of content from the site And on site B?
For example, to take from the website www.liveinternet.ru/rating/ru/media all except header and footer and paste it on your website?
July 9th 19 at 13:51
1 answer
July 9th 19 at 13:53
If I understand you correctly . You will need to start using

file_get_contents();
To the entire page . Next you need to put the right data into an array using preg_match_all ();

Find more questions by tags CMSHTMLJavaScriptParsingPHP