| Article: |
Building a Simple Search Engine with PHP | |
| Subject: | Search in dynamic page | |
| Date: | 2003-10-20 03:29:22 | |
| From: | anonymous2 | |
|
As i saw this search method do not search in dynamic page such as mypage.php?id=46 ro something ...
|
||
Showing messages 1 through 1 of 1.
-
RE: Search in dynamic page
2003-10-20 04:22:54 dsolin [View]



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