How can I use echo to display one page's content on another

Ask about general coding issues or problems here.

Moderators: macek, egami, gesf

Ramigarza
New php-forum User
New php-forum User
Posts: 1
Joined: Fri May 16, 2014 7:54 pm

How can I use echo to display one page's content on another

Postby Ramigarza » Fri May 16, 2014 8:03 pm

Here is my problem: I have a tv broadcast server that can display my tv schedule using it's built in server. I would like to display my schedule on my own website using my header and everything.

My server uses query strings to display the requested schedule. An example is http://example.com/ websched.php?channel=1&mode=week&headers=1

I use readfile('http://www.example.com/text.txt'); to display a song that is "now playing" on my radio station's website and it works fine. But it's the query strings that mess up the php request when trying to use it on my tv server.

Can someone please help me in figuring this out. Thanks!

Return to “PHP coding => General”

Who is online

Users browsing this forum: Google [Bot], krotbacca and 1 guest