It must have been a local issue, it's file_get_contents is working again...
2008/5/17 Jonathan Chetwynd <[EMAIL PROTECTED]>: > http://www.openicon.org/get_contents.php > very temporary but wfm > > thinks it must be a local issue... > > ~:" > > <http://www.openicon.org> > > Jonathan Chetwynd > > [EMAIL PROTECTED] > http://www.openicon.org/ > > +44 (0) 20 7978 1764 > > > <?php > $cty=file_get_contents("http://www.bbc.co.uk/programmes/a-z", 0, $ctx); > echo $cty; > ?> > > On 17 May 2008, at 15:38, Brian Butterworth wrote: > > I wrote some code a while ago that goes though the BBC programme catalogue > at > > http://www.bbc.co.uk/programmes/a-z > > and creates a database table that I used to work out what the correct > iPlayer picture code to use for each, matching them up against the programme > schedules from > > > http://www0.rdthdo.bbc.co.uk/cgi-perl/api/query.pl?method=bbc.schedule.getProgrammes&channel_id=$strChannel&start=$strDTS&end=$strDTE&limit=100&detail=schedule<http://www0.rdthdo.bbc.co.uk/cgi-perl/api/query.pl?method=bbc.schedule.getProgrammes&channel_id=$strChannel&start=$strDTS&end=$strDTE&limit=100&detail=schedule> > > For some reason I can access http://www.bbc.co.uk/programmes/a-z from a > browser, but doing a file_get_contents(" > http://www.bbc.co.uk/programmes/a-z") from PHP just locks up. > > Is this intentional? > > I'm just having another go at making a 'what's on now' iGoogle theme for > BBC channels... > > Brian Butterworth > > > -- Please email me back if you need any more help. Brian Butterworth http://www.ukfree.tv - independent digital television and switchover advice, since 2002

