Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    Senior Coder gsnedders's Avatar
    Join Date
    Jan 2004
    Posts
    2,340
    Thanks
    1
    Thanked 7 Times in 7 Posts

    Getting a title of a page on an external site.

    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...
    Last edited by gsnedders; 05-14-2004 at 09:59 PM.

  • #2
    Senior Coder
    Join Date
    Feb 2004
    Posts
    1,206
    Thanks
    0
    Thanked 0 Times in 0 Posts
    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,
    Sadiq.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •