View Full Version : Getting a title of a page on an external site.

05-14-2004, 09:56 PM
How could I, let's say get the title of the page at http://dunno.com/dunno.html, and use it for mine, without me needing writing acess to that page.

555th post...

05-14-2004, 10:22 PM
You could use cURL and regex. I'd use cURL to get the document source and use regex on that source to grab what I was looking for (the title in your case..).

Do a search on google and you should be able to come across lots of tutorials and links and the like.

Hope that helps,