			Mr MP3 WebServer v1.0
	Pasmal <Pasmal@zaz.net> http://homepages.ihug.co.nz/~mcopley
		IRC.dal.net:6667 #HelpDesk, http://helpdesk.zaz.net

:::About Mr MP3 WebServer:

Mr MP3 WebServer is a mIRC 5.82 and higher script designed to create a Web Server running
off of your mIRC. As the name indicates, it has been enhanced to allow the distribution
of MP3 files. Mr MP3 WebServer supports (afaik) resuming of files, so people can use programs
such as GetRight or Goz!lla to download the files without fear of disconnection - something
that napster doesn't offer.

:::About This Version:

This is the first public, non-beta, release of Mr MP3 Webserver. This script was not designed
to be elaborate in terms of user interface, its main area of focus is being able to provide
a stable working web server.

If you do find a bug or have a suggestion (Remember what you see now is not
all of what you will get later) then feel free to email it to pasmal@zaz.net
I do appreciate all feedback as it lets me make the script better for you the user.
[yes its like one of those horrible corporate statements, but I do mean it]

:::Installing The Script

To install the script I reccomend you extract the zip file to your mIRC directory.
However, the script should work fine in another location.

Once you have unzipped the files, in mIRC type:

/load -rs directory\mrmp3web.mrc

This command will create a few more directories:

script_directory\temp			Directory for temp files
script_directory\cache			Directory for cached files
script_directory\mp3web			Settings and other support files directory

Once loaded, you may want to generate a index of all the MP3 files you have, or want to
make accessiable to others via the webserver's search feature. To do this you need to use
the /mp3-list command. Its format is:

/mp3-list <directory where mp3 files are>

The /MP3-LIST command does not first wipe any previous entries, to do that you need to use the
/mp3-list-clean command. 

:::Accessing the Website

The Website is accessiable via http://your_ip_address/

To access the website from mIRC, type:

//run http:// $+ $ip

To access the MP3 Search engine, you need to access:

http://your_ip_address/CGI-BIN/search

:::Changing Settings

To change the settings you need to use notepad or any suitable text editor
to edit the following files:

mrmp3web.ini - any and all settings

If you load mrsetup.mrc (also contained within this zip) then a GUI setup screen will 
become avaliable via your popups via a 'Script Setups' menu. Mr Generic Setup (mrsetup.mrc)
is in a BETA state. To load Mr Generic Setup, in mIRC type:

/load -rs directory\mrsetup.mrc

:::Running Mr MP3 Server

Mr MP3 WebServer is automatically started each time mIRC starts. It attempts to listen to port
80. If another script/program is using this port then Mr MP3 WebServer will not work.

If you wish to manually start the server:

/start-mp3web

If you wish to manually close the server:

/stop-mp3web

:::Command Summary

/start-mp3web			Starts the WebServer
/stop-mp3web			Stops the Webserver
/mp3-list <directory>		Indexs the directory for MP3's
/mp3-list-clean			Wipes the index
/mp3-uninstall			Uninstalls Mr MP3 WebServer (Removes support files!)

:::Troubleshooting 

You may encounter problems with directories with multiple spaces in a row, but hopefully not with files with
the same problem. This is a problem that I can't efficiently work around sorry - don't use multiple spaces!
Heh =) If you don't like the way the webserver uses the short filename version of files in a directory listing,
goto line 333 of mrmp3web.mrc and remove the '.shortfn' property from the $findfile command.

EOF