View Single Post
  #4 (permalink)  
Old 12-16-03, 09:20 PM
blaw's Avatar
blaw blaw is offline
Junior Code Guru
 
Join Date: Dec 2003
Location: Vancouver, BC, Canada
Posts: 550
Thanks: 0
Thanked 0 Times in 0 Posts
Hi there,

First off, I assume you meet all the requirements.

1) Create a file search_form.php and type these up:
Code:
<?PHP
require_once('mp3_search_engine.php');
mp3SearchEngineForm();
?>
2) Create a file search_results.php and type these up:

Code:
<?php
require_once('mp3_search_engine.php');
executeMP3Search($HTTP_POST_VARS['query_string'], $HTTP_POST_VARS['engine'],$HTTP_POST_VARS);
?>
3) Create a file (if not yet done) mp3_search_engine.php and dump all the contents of the code you pasted.

4) Put them all in one folder.

5) Access the search_form.php.

This way you'll see the form and can at least do the search. I tried it, however, and most of the search engines registered here reject GET parameters passed from the function - from external sites, I guess. Some of the engines are no longer available, either. Hence, though the functions does what it's told to, but doesn't serve you well. (Kermit/Oth.net worked fine, just to let you know) For those, sorry, but I can't help you. Good luck.
__________________
Blavv =|
Reply With Quote