file_get_contents (), fopen (), http_get () or curl are the methods and functions that you probably want to take a look at. Depending on what you load and how you want to change it, you can use XML Parser , regular expression or just str_replace ().
source share