Article:
  Building a Simple Search Engine with PHP
Subject:   RE: Search in dynamic page
Date:   2003-10-20 04:22:54
From:   dsolin
Response to: Search in dynamic page

Hi Matt,


With this (simple) example, all pages needs to be indexed via http individually. However, just as you imply, you could quite easily automate this task to index several pages in a batch. As you might know, you can make http-requests using PHP's fopen()-function, so you could do something like this:


for($i = 1; $i < 50; $i++)
{
fopen("http://www.mysite.com/mypage.php?id=".$i);
}


Good luck!


Daniel