There are two ways of doing it. The quick and easy way for people who are not familiar with HTML forms. And the manual method for those you know how to build forms and want to customize the look to match the rest of your site. Uses either method and soon visitors to your website will be able to search for movies that contain scenes with their favorite actors naked!
|
|
|
|
| <TABLE BORDER=2 COLS=1 WIDTH="220"
BGCOLOR="#FFCCFF" CELLPADDING=3>
<TR><TD><CENTER> <FONT SIZE=-1>Enter the name of a celebrity or a movie title to search <B><FONT COLOR="#CC0000">NudeBase™</FONT></B> and find out which male actors have appeared in the nude and where.</FONT> <FORM method=GET action="http://www.wwmen.com/cgi-bin/nudebase.cgi"> <INPUT type=text name="all" size=21> <INPUT type=submit value="Search NudeBase™"> </FORM></CENTER></TD></TR></TABLE> |
|
| Cut out the code to the right and paste it into your web site | <TABLE BORDER=2 CELLPADDING=3 COLS=1 WIDTH="100%"
BGCOLOR="#FFCCFF" >
<TR><TD><FONT SIZE=-1>Enter the name of a celebrity or a movie title to search <B><FONT COLOR="#CC0000">NudeBase™</FONT></B> and find out which male actors have appeared in the nude and where.</FONT><BR> <FORM method=GET action="http://www.wwmen.com/cgi-bin/nudebase.cgi"> <INPUT type=text name="all" size=21> <INPUT type=submit value="Search NudeBase™"></FORM> </TD></TR></TABLE> |
|
| You'll have a search box like the one to the right |
|
| Action to use in form.
You can use either the GET or the POST method. I recommend the GET method since it doesn't cause the user's browser to bring up a confirmation window. |
http://www.wwmen.com/cgi-bin/nudebase.cgi |
| The name keyword. | The name keyword will search
only the name field of the database.
The name is searched as both "lastname, firstname" and as "firstname lastname". If you want a direct link into the database (i.e. not through an HTML form) for an actor it is recommended that you use the "firstname lastname" format and drop any modifier such as "jr." or "sr". For direct links don't forget to include the + sign in place of any spaces in the name. |
| The title keyword. | The title keyword will search
only the title field of the database.
For direct links (i.e. not through an HTML form) don't forget to include the + sign in place of any spaces in the title. |
| The all keyword. | The all keyword will search
all the fields of the database including the descriptions.
Direct links for the all keyword don't have any practical value but for direct links (i.e. not through an HTML form) don't forget to include the + sign in place of any spaces in the search. |
| Examples
Here are some examples of using direct links into the database for the name and title keywords. |
A direct link for the information on
Rob Lowe can be written one of two ways:
<A HREF="http://www.wwmen.com/cgi-bin/nudebase.cgi?name=Lowe,+Rob">Rob Lowe</A> <A HREF="http://www.wwmen.com/cgi-bin/nudebase.cgi?name=Rob+Lowe">Rob Lowe</A> Alternately you could do something like:
That will also find the information on Rob Lowe, but could also find other actors that have the string "ob lo" in their name. A link for information on a title can be done in the same
way replacing the name keyword with the title keyword.
|
| Hints
Some helpful hints about interfacing to the database. |
None of the searches are case sensitive.
All of the following are considered identical:
Rob Lowe rob lowe ROB LOWE RoB lOwE The same holds true for searches with the title and all keywords. You can combine keywords:
That link will only list entries where Rob Lowe has had a frontal scene. |