Hi everybody.. first i want to state that i m a newbie and I barely know php.. I have a website using php to embed a huge list of funny videos from youtube and i want to make a simple fast search for my website (I don t even know if what I want to do is possible using php but I will try to explain as much as I can and if someone thinks it s doable please leave a reply ) I am using huge videos lists (arround 20 000 links) that looks like this : (videoslist1.php) (videoslist2.php) .... -------------------------------- <table width="250" border="0" cellspacing="0" cellpadding="0"> <tr><td><a href="http://www.youtube.com/?v=video1">video 1</a></td></tr> <tr><td><a href="http://www.youtube.com/?v=video2">video 2</a></td></tr> <tr><td><a href="http://www.youtube.com/?v=video3">video 3</a></td></tr> <tr><td><a href="http://www.youtube.com/?v=video4">video 4</a></td></tr> <tr><td><a href="http://www.youtube.com/?v=video5">video 5</a></td></tr> <tr><td><a href="http://www.youtube.com/?v=video51">video 51</a></td></tr> <tr><td><a href="http://www.youtube.com/?v=video52">video 52</a></td></tr> <tr><td><a href="http://www.youtube.com/?v=video6">video 6</a></td></tr> <tr><td><a href="http://www.youtube.com/?v=video7">video 7</a></td></tr> <tr><td><a href="http://www.youtube.com/?v=video8">video 8</a></td></tr> <tr><td><a href="http://www.youtube.com/?v=video9">video 9</a></td></tr> <tr><td><a href="http://www.youtube.com/?v=video10">video 10</a></td></tr> </table> --------------------------- what I wanna do is implement a serch engine for this lists .. for example if a user enters "video 5" in the search field the result will be the video names containing "video 5" with the link to those videos : -------------- <a href="http://www.youtube.com/?v=video5">video 5</a> <a href="http://www.youtube.com/?v=video51">video 51</a> <a href="http://www.youtube.com/?v=video52">video 52</a>[/syntax] -------------- I hope it s easy to do .. if yes will it be fast for a large list with 30 000 funny videos?? thank you in advance
Try this script. http://createwebapp.com/ You can use javascript + php to create a search for all your movies on the fly. It's really smooth.
You really should consider entering all the data into a mysql database or similar and paginate the results. It would also be much easier to search through. But yeah, considering the size of the page and the fact that everything is listed and not pulled from a database, try http://www.hypergurl.com/searchpage.html. It seems perfect for what you need and free. If you know a bit about arrays, I'm sure you could take the time to put all your info into an array and use a form post to check if something is in the array or not. It would be much more time consuming and probably more tedious than the javascript function above.
Thank you lv211 and xxKillswitch for your replies .. but that is not what i was looking for ... I need a serch engin that can search in many video lists (videolist1.php videolist2.php .....) exactly as stated on my first post ... I prefer not using a database for some reasons .. the job offer is still open and i am willing to pay high for a perfect solution to this problem ...
Dont waste money in buying such small scripts. rather you can use this money in hiring programmers like us to make your work easy. Or else,try from other free scripts sites..
if anyone can custom make this search script for me , please pm me with your pricing and any other questions..
hip_hop_x , is there any way to do it without using a database ... i dont want to use a database for some strong reasons i have [website updating issues]..