How do i get the title of the post and the image from a URL?

Say i enter a random URL, I want to get the main title of the post in that page and number of images and the images itself.

file_get_contents() doesnt help.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.