Hi.
I am currently writing a little application for my University radio station in PHP. It basically grabs the listener count from the status page (http://www.address.com:8000/status.xsl) and puts it in a database every minute.
Now the script seems to work fine when it's run off of my home machine. I have no issues retriving the information from that status page. However, when I load it onto my shared hosting package, it seems to time out. I have tried using file() on other sites like google.com using both the domain name and the IP and it works fine.
I am really confused as to what I should be checking for. I can't see any specific reference to timeout settings for file() in php.ini and the fact it works with other sites it making me think the University is blocking it. However if that is the case, why would it work at home?
Any ideas?
Thanks.