Joomla CMS Talk  

Go Back   Joomla CMS Talk > Joomla CMS Talk Public Forums > Content Management > Scripts

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 10-13-2007, 05:53 PM
Plezops Plezops is offline
Junior Member
 
Join Date: Oct 2007
Posts: 1
Default PHP Script for making a file search engine?

I need a PHP script that can search for a specific file (with a box to type in criteria) within a certain web directory (just one directory) on my server. Are there any FREE or cheap search engines that i can use and customize to fit my needs?
Reply With Quote
  #2 (permalink)  
Old 10-14-2007, 10:00 PM
Mardix Mardix is offline
Junior Member
 
Join Date: Oct 2007
Posts: 1
Default

I would recommend you to create a table in a database that may have the following fields :
id (unique identifier, you may use it to update data),
url (the location of the file on your server),
title (to identify it),
description (to describe what is in the file),
keywords (words you may use to search the file)
date (date of insertion).

And when you want to search for a file, the search will be made in the database. You will be able to see the details such as description etc.
And when you click on it, you will be able to go to the file you want by using the field URL that is in the DB.

It will be faster this way. All you have to do in the DB is inserting new file, you don't have to make your script do too much for nothing.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 08:46 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.0.0