klaasvaak
User
| Posts: 1352 |   |
 

|
error: attempt access with invalid User Agent - 2009/07/25 07:37
Hi guys,
I trying to create a tailor made “Now Playing”-screen for a radio station called Rock Radio 1. All track info including AlbumArt is given here.
I tried to parse this page by| Code: | $something = file_get_contents('http://www.rockradio1.com/modules.php?name=Now_Playing&file=playing-lite');
| If I echo $something, I get the following error message:| Code: | You have attempted to access this site with an invalid User Agent.
| Anyone any idea how to solve this and be able to parse the page?
many thanks, regards, Klaas
---------------------------------------------------------------------------
SwissCenter SVN 1283
Simese 1.46 / PHP 4.4.3 / MySQL 4.0.21 / Windows XP
Apache 2.2.11 / PHP 5.2.10 / MySQL 5.1.34 / Linux Synology 2.6.15
Synology DS107+ (128), firmware: DSM 2.2-0914
Pinnacle SC200 / PCH A-110
|