Whoops, I did it again 
<input type="submit" value="Go"/>
will add a submit button. Put it wherever you like (inside the form).
Code:
<form action="<?=$PHP_SELF?>" method="post">
<p>Username: <input type="text" name="user"/><br/>
Password: <input type="password" name="pass"/><br/>
<input type="submit" value="Log in"/></p>
</form>
Probably isn't valid, I can't remember the rules for form and paragraph nesting.
So, knowing what I know about .htaccess, what I want isn't easily obtained, so I turned to the php gods... Using the code above, is what I want possible, and if so, where do I place the code? For example, I have to make the hotspot on the image go SOMEWHERE, but the password box will redirect them to the separate pages, right? So do I need to input the code into a .htaccess page, and the code will handle itself? or do I need to forget the hotspot and make a link, etc.
No, what you need to forget about is .htaccess. There's no need to manhandle the webserver in the scenario you describe, and, if you're using PHP, there usually never is. What you want, however, can be done in plain old HTML. It works like so:
Code:
<map name="tre" id="tring">
<area href="pass.php" shape="rect" coords="40,159,82,176" alt="" style="cursor:default;"/>
<!-- You should never usually use a blank alt, but in this case an alt
would give away the location of the area. cursor:default stops the
cursor changing to a hand when it moves over the area. coords= is
the location of the rectangle, top-left-x, top-left-y, bottom-right-x, bottom-right-y. -->
</map>
<img src="imgmap.jpg" alt="Image Map" usemap="#tre" style="border:0;"/>
You can also do server-side image maps, but they're evil little beggars.
Bookmarks