How-to articles, tricks, and solutions about TITLE

Getting title and meta tags from external website

In PHP, you can use the file_get_contents() function to retrieve the HTML code of a website, and then use regular expressions or a DOM parsing library to extract the title and meta tags.