Jump to content

[SOLVED] what am i looking for


EchoFool

Recommended Posts

I am kinda stuck and need some help on what i am looking for in order to learn this " idea " i have.

 

Basically i have a radio stream, and a html file which contains:

 

Song Currently Playing

Artist Name

 

One on each line, now i'm trying to find a way to grab the two lines from that html file and assign them to PHP variables and echo them on my server. Some one briefly mentioned some thing called "Curl" ? No idea what that is, and is that person suggesting the right thing i need, if so what is it that Curl does exactly? And what am i suppose to be searching for in PHP to grab the html content to manipulate on the php script.

 

I should add the HTML file with the song info is on a different server altogether. And my server is meant to be obtaining the info from that html file...

 

Hope im talking sense and any advice is welcome.

Link to comment
https://forums.phpfreaks.com/topic/157270-solved-what-am-i-looking-for/
Share on other sites

The stream itself is a asx file which is seperate but theres a html file linked with it which updates every 3 minutes to say the song name and artist name, the html is blank par that display so i need to grab that info from the html file to assign them into variables to place on my radio player where i see fit in php if that makes sense?

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.