Reply to Special Search

Your name:

Reply:


Posted by majik92 on 11/02/06 22:10

Okay, I've just created this PHP script and know to finish it off, I
want to add a search feature. I want the search to search in a folder
called "songs/". The songs/ folder is full of .txt files all allocated
in subfolders of songs/. It is supposed to work like a regular search
engine. But the results need a little tweaking: if there's a file
called song/s/sing-a-song.txt, I want the PHP script to print a link to
index.php?song=sing-a-song. The value of the song query in the link
will always be the same as the file name, excluding the file extention:

Another example:
There's a text file: songs/b/better-is-one-day.txt
I want the PHP script to print a link to
index.php?song=better-is-one-day


I tried creating a script that does this, but it has proved futile. I
was hoping if you could help me, or at least guide me. All replies
would be appretiated.

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация