Jump to content

How to fetch a page source


FaithRaven

Recommended Posts

Let's take this link for example:

http://armory.wow-europe.com/#arena...indication&ts=5

 

If I open it in a browser, right click and click View Source I see a nice looking and well formated XML.

 

But If I fopen this link from PHP and paste it's content I get a very messy generated page.

 

I wonder, is it possible in PHP to get the page content in XML and not the generated source ?

Link to comment
https://forums.phpfreaks.com/topic/46012-how-to-fetch-a-page-source/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.