Reading complete page content

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • JonSchmidt

    #1

    Reading complete page content

    Hi,

    I'm looking for some php code or for ideas how to read the complete
    content of a single page. Like a small spider or indexer. I want to
    read the content and put it into a MySQL database for a small search
    funktion.

    I'm happy for any help!
    Thanks, Jon

  • Ewoud Dronkert

    #2
    Re: Reading complete page content

    JonSchmidt wrote:[color=blue]
    > I'm looking for some php code or for ideas how to read the complete
    > content of a single page.[/color]

    Did you try the manual?

    --
    E. Dronkert

    Comment

    • JonSchmidt

      #3
      Re: Reading complete page content

      I did. Found something with fsockopen(). Maybe that's the way?
      Jon

      Comment

      • Ewoud Dronkert

        #4
        Re: Reading complete page content

        JonSchmidt wrote:[color=blue]
        > I did. Found something with fsockopen(). Maybe that's the way?[/color]

        No, usually "url fopen wrappers" are enabled, so you can just use
        file_get_conten ts()

        --
        E. Dronkert

        Comment

        • JonSchmidt

          #5
          Re: Reading complete page content

          Oh man, thank's! Thats what I was looking for!
          Greetings to the NL (?)
          Cheers Jon

          Comment

          Working...