getting sorce code from another site...

  • Cae
  • Expert
  • Expert
  • User avatar
  • Posts: 734

Post 3+ Months Ago

this may have been asked before, and sorry if it has...

im trying to find a way to get the HTML source from a page on another site and load it into a PHP variable... what im trying to do is get some computer news/latest blah from another site which doesnt have RSS feeds and such.

i tried doing a search on google, but im not exactly sure what to search for...
  • Cafu
  • Student
  • Student
  • Cafu
  • Posts: 97

Post 3+ Months Ago

I think you are looking for the fopen command:

Code: [ Select ]
$handle = fopen("", "r");

Post Information

  • Total Posts in this topic: 2 posts
  • Users browsing this forum: No registered users and 38 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum

© 1998-2017. Ozzu® is a registered trademark of Unmelted, LLC.