Try using the CURL library instead of file_get_contents for accessing external files - it's a lot more customisable, and you might be able to get some info back about why it's locking up!

Cheers,

Tom


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

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

-
Sent via the backstage.bbc.co.uk developer discussion group.  To unsubscribe, 
please send an email to [EMAIL PROTECTED] with  unsubscribe backstage-developer 
[your email] as the message.

Reply via email to