Search found 143 matches

by captquirk
Thu Jan 31, 2019 3:20 am
Forum: Sphider Help
Topic: .com search at Sphider 1.42
Replies: 13
Views: 17771

Re: .com search at Sphider 1.42

I mean to tell Sphider he has to stop when fetch 40 or 50 links from a domain. In PDO 2.2.0, in spider.php, line 1009: while ($count < count($links)) { You can try: while ($count < count($links) && $num < 50) { I HAVE NOT TESTED THIS! NO GUARANTEE! It SEEMS like a good idea though. :lol:
by captquirk
Thu Jan 31, 2019 2:55 am
Forum: Sphider Help
Topic: .com search at Sphider 1.42
Replies: 13
Views: 17771

Re: .com search at Sphider 1.42

I mean to tell Sphider he has to stop when fetch 40 or 50 links from a domain. Hmmmm. Interesting. I'll have to dig into that one when I get some time. As far as eliminating advance options for an image search, that may be easier than I thought. In PDO 2.2.0, in search.php, find on line 331: global...
by captquirk
Wed Jan 30, 2019 10:41 pm
Forum: Sphider Help
Topic: .com search at Sphider 1.42
Replies: 13
Views: 17771

Re: .com search at Sphider 1.42

Is there a way to make the Images tab look like the Search tab? Without all the advanced choices? YES! In fact, that is one of the changes coming with Sphider 2.3. You will have the ability to mix and match with the search tabs, so an Image search can be a stand alone choice. [** I believe I misund...
by captquirk
Tue Jan 29, 2019 4:59 am
Forum: Sphider Help
Topic: .com search at Sphider 1.42
Replies: 13
Views: 17771

Re: .com search at Sphider 1.42

Here is the code translated from mysql to mysqli (like that found in 1.42). I have no way of testing this. My PHP version (7+) is such that 1.42 is too antiquated to run! But the code does look correct as far as the sql is concerned. The other code fragments do not need converting. It would just be ...
by captquirk
Tue Jan 29, 2019 2:50 am
Forum: Sphider Help
Topic: .com search at Sphider 1.42
Replies: 13
Views: 17771

Re: .com search at Sphider 1.42

Looking at the posted code, specifically the last section (everything before is preparation for making the last section work), I notice: // Search for URL's that were already indexed. What is actually being search for is URL's that have been indexed. That is already available. When you look on the S...
by captquirk
Tue Jan 29, 2019 1:55 am
Forum: Sphider Help
Topic: .com search at Sphider 1.42
Replies: 13
Views: 17771

Re: .com search at Sphider 1.42

Is it possible to convert MySQLi database to PDO? The beauty of it all is that the database doesn't need to be converted! The database is MySQL (or for some people, MariaDB). What IS different between MySQLi and PDO is how the database is accessed. When using MySQLi, you can access a MySQL database...
by captquirk
Mon Jan 28, 2019 3:30 am
Forum: Sphider Help
Topic: .com search at Sphider 1.42
Replies: 13
Views: 17771

Re: .com search at Sphider 1.42

Most likely the code is deprecated. The original Sphider used the OLD mysql extension. Sphider 1.42 was converted to mysqli. If you will post the mod code, I will see if I can update it to mysqli for you. Sphider 1.42 is no longer maintained, but I DO support requests for help with it. On a side not...
by captquirk
Sat Dec 15, 2018 4:34 pm
Forum: Sphider Help
Topic: Updating Error
Replies: 37
Views: 38597

Re: Updating Error

When you do go more mobile friendly, Sphider is already a good way there with the mobile template css. The mobile template is basically the standard with different css. From the looks of it, you are already basing your results page on either the standard and/or mobile template as it is. Sphider 2.2 ...
by captquirk
Thu Dec 13, 2018 11:25 pm
Forum: Sphider Help
Topic: Search language
Replies: 2
Views: 7032

Re: Search language

After my middle of the night "flash of brilliance" and resulting tests this morning, I am inclined to agree that a ? modifier to the url is the better way to go. In fact, that is EXACTLY what I did with the MOD I posted. That mod could be adapted to any Sphider version I know of going back...
by captquirk
Thu Dec 13, 2018 11:18 pm
Forum: Sphider Help
Topic: Updating Error
Replies: 37
Views: 38597

Re: Updating Error

I am ALWAYS interested in other approaches to a problem! I would love to take a peek at what you've come up with.