[Date Prev][Date Next][Thread Prev] [Thread Next][Date Index] [Thread Index]

Search Script


  • From: Freaky Planet Webmaster  
  • Date: Mon, 16 Oct 2000 20:33:51 -0600 (MDT)

Hey Folks,
I could use some help with the search script.
Can anyone help me?

Since My Server Does not support .pl files, I always convert them to .cgi files.

So installing the script, I made the proper adjustments:

#!/usr/local/bin/perl  was as it should be

Chmoded the script at 777

I made these changes:

# Number of fields in each record
    $fields = 10;

# The database text file                
    $filename = 
"/web/f/r/freakygirlz/home/Webringz/Ringz/cgi-bin/ringlink/data/sites.db";

# maximum number of results to display      
    $results = 50;
    
# Search Script URL
    $script_url = 
"http://freakyplanet.com/Webringz/Ringz/cgi-bin/ringlink/data/search.cgi";;
    
# webmaster eamil
    $webmaster_email = "webmaster\@freakyplanet.com";



Then I had to go in and fix the colors to what we use:

   <BODY BGCOLOR="#000000" LINK="#ffffff" ALINK="#ffff00" VLINK="#ffffff" 
text="#ffffff">
    
<TABLE WIDTH="640" BORDER="0" CELLSPACING="2" CELLPADDING="0">
  <TR>
    <TD>~;


    print "<CENTER><BR><br>\n";
    print "<FONT SIZE=-1 COLOR=FFFFFF FACE=\"helvetica,arial\"><b>Search 
Results</b><br>\n";
    print "<FONT SIZE=-1 COLOR=FFFFFF FACE=\"helvetica,arial\">Search Terms: 
<b>$searchstring</b></CENTER>\n";
    print "<HR width=80%><BR><UL>\n";
    $counter = 0;

And so on and so forth ...

Called the script directly ...
http://freakyplanet.com/Webringz/Ringz/cgi-bin/ringlink/data/search.cgi

Page can not be displayed.

Changed the file permisions or CHmod to 755.

Page Can not be displayed.

Installed an HTML page with a search box and tryed to use the script by 
entering a keyword.

http://freakyplanet.com/Webringz/Ringz/cgi-bin/ringlink/data/

Page Can Not display Data.

Changed the CHMOD back to 777.

Page Can Not Display Data.

Throws up hands because he has to go to work.

:)

If anyone can help please let me know. :)
Ike



==
"When all else fails, eat a pita !"


Follow-Ups from:
Greta

[Date Prev][Date Next][Thread Prev] [Thread Next][Date Index] [Thread Index]