title: AJAX and file_get_contents
body: <p>I have a script which uses file_get_contents and I then decode the returned JSON...</p>
  
  <pre><code>$urlone = json_decode(file_get_contents("http://api.twitter.com/1/statuses/user_timeline.json?include_entities=true&amp;include_rts=false&amp;screen_name=".$screen_name."&amp;count=".$tweet_count."&amp;page=1"),true);
  </code></pre>
  
  <p>What I would like to achieve is a callback so I can have a nice loader and then animate contents in when complete. Is there a way to use JQuery to do an AJAX call if Javascript is enable and fallback to the default PHP if it is disabled?</p>