Jump to content

RightNow21

New Members
  • Posts

    3
  • Joined

  • Last visited

    Never

Posts posted by RightNow21

  1. Thanks!!!!!
    Works like a charm.

    http://www.darynduff.com/crawler/

    <?php
    $file = file_get_contents("http://www.google.com");
    //$file = fopen($filename, "r");
    //$filesize = filesize($file);
    //$text = fread($file, $filesize);
    //fclose($file);
    echo $file;
    ?>
  2. Any one know how to parse an external html page?

    I know how to parse a html file on my server.

    <?php
    $filename = "test.html";
    $file = fopen($filename, "r");
    $filesize = filesize($filename);
    $text = fread($file, $filesize);
    fclose($file);
    echo $text;
    ?>

    But how would I parse:
    someone-else.com/filename.html
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.