Ask a Question related to PHP Development, Design and Development.

  1. #1

    Default php web spider

    Hi
    I have a device (a wireless access point) wich is configurable using
    its internal web server. I did a little php script that opens a socket
    to the statistics page and shows me only the data I'm interested to. The
    device has a lot of other pages (mainly configuration and statistics
    data wicht can be accessed using an HTTP GET. Is there some way
    (software, read-to-use scripts) to generate a list of all the pages
    served by the web server with all the fields of the forms included ?
    something like:

    /config/network.htm
    ethip value="" maxlength="15"
    gateway value="1.2.3.4" maxlength="15"
    subnet value="255.255.255.0" maxlength="15"

    and so on ? in this way I can use php to "scan" the device and have a
    full range of HTTP request for setting up the device very quickly with
    no human need.

    thanks

    thl

    thl Guest

  2. Similar Questions and Discussions

    1. Verity Spider license
      Who do I purchase an external license for the verity spider from? Coldfusion or Verity? Thanks Ben
    2. Web Spider Component
      Does anyone know of a good web spidering component available to crawl and extract llinks in coldfusion?
    3. ColdFusion MX 6.1 and Verity Spider
      I am new to all this and am looking at creating a collection and an index using verity spider on our CF MX 6.1 server. I noticed for MX 7,...
    4. Spider Web Effect
      Hi All I am trying to create a spider web effect and am not having much luck... any ideas. It can be lieteral or stylised as long as it suggest a...
    5. php to spider a website
      I am looking for a script that I can use to spider a website, and then pull the images... I know how to do it for a single page, but, I would like...
  3. #2

    Default Re: php web spider

    thl wrote:
    > Hi
    > I have a device (a wireless access point) wich is configurable using
    > its internal web server. I did a little php script that opens a socket
    > to the statistics page and shows me only the data I'm interested to. The
    > device has a lot of other pages (mainly configuration and statistics
    > data wicht can be accessed using an HTTP GET. Is there some way
    > (software, read-to-use scripts) to generate a list of all the pages
    > served by the web server with all the fields of the forms included ?
    > something like:
    >
    > /config/network.htm
    > ethip value="" maxlength="15"
    > gateway value="1.2.3.4" maxlength="15"
    > subnet value="255.255.255.0" maxlength="15"
    >
    > and so on ? in this way I can use php to "scan" the device and have a
    > full range of HTTP request for setting up the device very quickly with
    > no human need.
    >
    > thanks
    >
    > thl
    >
    preg_match_all() will help you find the things you're searching in the pages

    [url]http://www.php.net/manual/en/function.preg-match-all.php[/url]

    you'll also need a good deal of regexp! so good luck...

    On those pages are there links to the other pages? I suppose so, so
    you'll need parse_url()

    [url]http://www.php.net/manual/en/function.parse-url.php[/url]

    Hope this helps,
    Best regards,
    Sebastian

    --
    The most likely way for the world to be destroyed,
    most experts agree, is by accident.
    That's where we come in; we're computer professionals.
    We cause accidents.
    --Nathaniel Borenstein
    Sebastian Lauwers Guest

Posting Permissions

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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139