I don't know how to explain what i need. For example: How load/add daniweb.com header into other file for example www.test.com/header.php

I just need to load part of website into other php file.
Could you advise what functions to use?

Sorry for bad english.

Recommended Answers

All 4 Replies

If you have some sections that should be standard on every page (like a header or footer) then you can define those parts of the page as separate PHP files and use include / require to make them part of every page that needs them.

Why would you want to do that? If you like the design, it would be better to copy some of the html and adapt it to fit your needs. If you have some other reason for doing it, you need to explain it better.

I want to load tv program from www.tv24.lt (one tv channel in one page) into other site, to make it faster to load on my phone.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.