Re: [backstage-developer] Accessing http://www.bbc.co.uk/programmes/a-z from PHP

2008-05-17 Thread Tom Scott
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

Re: [backstage-developer] Accessing http://www.bbc.co.uk/programmes/a-z from PHP

2008-05-17 Thread Jonathan Chetwynd
http://www.openicon.org/get_contents.php very temporary but wfm thinks it must be a local issue... ~: 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

Re: [backstage-developer] Accessing http://www.bbc.co.uk/programmes/a-z from PHP

2008-05-17 Thread Brian Butterworth
Interesting library.. might use it more often. Seems to work with this, but it's working with file_get_contents again! Thanks. 2008/5/17 Tom Scott [EMAIL PROTECTED]: Try using the CURL library instead of file_get_contents for accessing external files - it's a lot more customisable, and you