OK worked it out...

For some reason the checktv in sockopen checktv www.tvrage.com 80
was not clearing. I changed checktv to checktv1 in the test script above, and it now returned

Code:
HTTP/1.1 200 OK
Date: Thu, 11 Dec 2008 23:18:46 GMT
Server: Apache/2.2.10 (Unix) PHP/5.2.5
X-Powered-By: PHP/5.2.5
Content-Length: 348
Keep-Alive: timeout=1, max=100
Connection: Keep-Alive
Content-Type: text/html; charset=utf-8

Show Name@My Name Is Earl
Show URL@http://www.tvrage.com/My_Name_Is_Earl
Premiered@2005
Latest Episode@04x12^Reading Is a Fundamental Case^Dec/04/2008
Next Episode@04x13^Orphan Earl^Dec/11/2008
RFC3339@2008-12-11T:00-5:00
Country@USA
Status@Returning Series
Classification@Scripted
Genres@Comedy
Network@NBC
Airtime@Thursday at 08:00 pm
Runtime@30


No idea why that was happening, but Im pretty happy now!!!

Last edited by Erra; 11/12/08 11:21 PM.