Re: [PHP] Site Searchable function

2001-04-21 Thread ~~~i LeoNid ~~
On 20 Apr 2001 10:00:32 -0700 impersonator of [EMAIL PROTECTED] ("Matthew Luchak") planted &I saw in php.general: > >check php.ini file for "allow fopen" I think. >=20 >Matthew Luchak=20 >Webmaster >Kaydara Inc.=20 >[EMAIL PROTECTED] Thanks, I don't know if you a

RE: [PHP] Site Searchable function

2001-04-20 Thread Matthew Luchak
check php.ini file for "allow fopen" I think. Matthew Luchak Webmaster Kaydara Inc. [EMAIL PROTECTED] -Original Message- From: ~~~LeoN~ [mailto:[EMAIL PROTECTED]] Sent: Friday, April 20, 2001 10:59 AM To: [EMAIL PROTECTED] Subject: Re:

Re: [PHP] Site Searchable function

2001-04-20 Thread ~~~LeoN~
On 19 Apr 2001 13:25:09 -0700 impersonator of [EMAIL PROTECTED] ("Steve Lawson") planted &I saw in php.general: >fopen("http://localhost/name-of-file") will return the rendered page instead Sounds good (theoretically:). Hovever, in practical attempt on my remote server it gave: Warning: fopen

Re: [PHP] Site Searchable function

2001-04-19 Thread Steve Lawson
Hey, Well, I would write two scripts. One to pregen a reference database and one to search using that database. The pregen could use the readdir function that Matthew Luchak suggested. You could use the fopen command to get the pages. fopen("http://localhost/name-of-file") will return the re

RE: [PHP] Site Searchable function

2001-04-19 Thread Matthew Luchak
there is a good starting point for walking a directory tree and printing out the names of the files at: http://www.php.net/manual/en/function.readdir.php it should be no mean feat to add a search file function and voila Matthew Luchak Webmaster Kaydara Inc. [

RE: [PHP] Site Searchable function

2001-04-19 Thread John Huggins
You may not like this answer, but before anyone gets too far along with any site search engine method using PHP, I would suggest a review of something like http://www.htdig.org/. It is free, it works fast and searches your site just like a web browser so what it indexes is what your viewers see.