views:

23

answers:

1

Hi People, i am currently building a website and was relying on php fetch_content to read file this (http://opi.yahoo.com/online?u=yahooid&m=a&t=1) and it returns 00 for offline and 01 for online. Somehow i moved my hosting n the new hosting can't do php_fetch_content, is there is any way for jQuery to do this? i've tried .get() and don't really know hos it works, so it turns out not working. Any help would be very appreciated!!

A: 

No you cannot use AJAX due to same origin policy restrictions, unless the server supports JSONP.

Darin Dimitrov