Home » PHP14 November 2008

How to change the source code and modify/parse a website?

Earlier I had written an article on How to get(view) html source code of a website . I had created an application and that would grab the html code of any website. In this article, I will be writing on how you can modify the looks of a website by changing the html source code after you grab it.

At first the html source code getting part. I have commented in the code for better understanding.

Now, the modification in the source code part. I have used ereg_replace() function for the modification.




Get New Post by Email

Find me on

FacebookTwitterGoogle+LinkedInRSS Feed
  • Mike Jefferson

    I was looking to edit a website and was wondering if you could help me by showing me the steps, would be greatly appreciated.

    Mr Jefferson

  • vivekkumar

    one registered website how to chage the codings