1

I am developing a PHP based website. I would like to grab the web page title, content and thumb from any URL submitted by a user. I am not sure how I should proceed. If possible I would like to avoid any third party platform such as Embed. Could you please help? Cheers.

1 Answers1

0

You must get source of entered web url. And parse it with regex. For get source code:

file_get_contents();

After use regex parse:

preg_match();

detail of functions:

Fatih SARI
  • 435
  • 4
  • 21