Skip to content

BucketPress

  • About

jquery

Using a proxy file to load content from external url

April 15, 2011 by Kevin

/* proxy.php */ <?php echo file_get_contents($_GET[‘url’]);?> then, assuming that you place proxy.php in the same directory of the html page: $(“#content”).load(‘proxy.php?url=http://example.com’);

Publicise

  • Email
  • Facebook
  • Twitter
  • Pinterest
  • Tumblr
Categories Uncategorized Tags jquery, php Leave a comment
No comments to show.
© 2023 Bucket Press