![]() |
|
#1
|
||||
|
||||
[class] 404 search function codeThis was found at
http://nslog.com/archives/2003/02/26/404_search_function_code.php and is said to be for open domain usage and alteration. PHP Code:
For a site without MT a post commented this. One remark to the value $search_string: it matched nothing at me, only if the <, > and " are escaped. Then it worked Could I have some input into this. Cheers. Last edited by jrobbio : 22-Apr-2003 at 00:31.
|
|
#2
|
||||
|
||||
Where's the class?Did you forget something? Where's the class?
__________________
J de Silva Learning Journal | GIDForums™ | GIDNetwork™ | GIDWebhosts™ | GIDSearch™ |
|
#3
|
||||
|
||||
|
Please bare in mind that I don't know what I'm talking about when it comes to PHP still. Could you make the adjustments? Or have I missed out a huge chunk?
|
|
#4
|
||||
|
||||
|
That's alright Rob, I just thought that you had missed copying part of the script.
In PHP, a CLASS would look a bit like this: PHP Code:
__________________
J de Silva Learning Journal | GIDForums™ | GIDNetwork™ | GIDWebhosts™ | GIDSearch™ |
|
#5
|
||||
|
||||
|
Thanks JDS
more sticks every time. What did you think of the script by the way? |
|
#6
|
||||
|
||||
|
To be honest, I haven't tried to figure it out yet... I will reply here when I do that.
__________________
J de Silva Learning Journal | GIDForums™ | GIDNetwork™ | GIDWebhosts™ | GIDSearch™ |
|
#7
|
||||
|
||||
|
The best example is php.net. That's where the original idea came from.
Try http://nslog.com/spider. The MT search function is a bit poo since it shows the first sentnce rather than the keyword you are looking for. Works in some instances I suppose. |
Recent GIDBlog
Last Week of IA Training by crystalattice
| Thread Tools | Search this Thread |
| Rate This Thread | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| i/o: set value x (long) before it is used by a function | gmn | C Programming Language | 1 | 18-Nov-2003 01:12 |
| Search Engine Positioning 101 and 201 "How To" Tips... | 000 | Search Engine Optimization Forum | 0 | 29-May-2003 10:34 |
| How to search a huge text file for data? | JdS | MySQL / PHP Forum | 7 | 27-May-2003 09:27 |
| [class] Timer | JdS | PHP Code Library | 2 | 29-Apr-2003 12:20 |
| [class] Generate Forms Without Using HTML! | Elmseeker | PHP Code Library | 6 | 11-Mar-2003 12:05 |
Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The