Online Support Manual

CHAPTER NINE - MISCELLANEOUS FEATURES


Java Chat
Real Audio/Real Video
HTML Script
Majordomo
PHP3
MySQL

Java Chat

We provide Java Chat programs for use on your domain. Extra charges apply for use of this feature. If you have applied for basic Java Chat, look on your website for a chat directory. It will already be configured for your server. To join the chat, with your browser, go to:

http://www.yourdomain.com/chat

The page can be customized, but leave all the tags alone that have to do with <APPLET CODE>.
These rooms are capable of up
to 20 users at one time.


Real Audio/Real Video

Real Audio or Real Audio/Video is available for an extra charge. See our fee schedule for details.

Real Audio is a real time audio transmission/player system. A digital audio stream is transmitted from the server over the Internet to the destination and played immediately, rather than being stored to disk first and then played.

Each audio clip requires two files: a metafile with extension .ram, and the digital audio clip itself, with extension .ra.

The .ram file holds one or more lines of ASCII text, each of which references the .ra file to be played when the .ram file is accessed by the browser.

Entries in .ram files have the form:

pnm://yourdomain.com/yourdomain/name-of-clip.ra

Place your .ram and .ra files in the realaudio subdirectory under your web directory. Remember that .ram files must be uploaded in ASCII mode while .ra files must be uploaded in BINARY mode. You may then access these files via a web browser at:

http://www.yourdomain.com/realaudio/file.ram


Miva - HTML Script (for qualifying accounts only)

Miva makes building dynamic, data driven web pages as easy as HTML. You can quickly develop interactive web pages that are 100% browser independent. Miva runs on the web server, interprets the Miva tags and outputs pure HTML to the browser. You can also use Miva to output Javascript and other browser languages, and use the built-in database to easily manipulate and publish data.

Full documentation and usage support for HTML Script can be found at http://htmlscript.com/. Miva offers a variety of features and you should visit their site for more information.

We are running version 3.0 of HTML Script. The following is what you will need to know for use on your domain.

The script being called is "miva", which is in your cgi-bin. The active pages (pages with .hts or .mv) need to be placed in your root www directory, not in subdirectories. A sample URL call for this would be as follows:

http://yourdomain.com/cgi-bin/miva?yourpage.mv

HTMLSCRIPT has a variety of pre configured products that require path information we have preconfigured miva to automatically look into the /home/domain/htsdata directory for data files, If data is placed in this directory a example call would be as follows

EXAMPLE.

<export file="file.dat">

To call Htmlscript thru the secure server use the following:

https://machine.safe-order.net/cgi-bin/smiva?yourdomain/yourpage.mv

Machine should be replaced with the name of the system your on, ie pan, artemis, osirus, ect . . .


More On The Miva Engine.
The Miva Engine makes building dynamic web sites as easy as writing HTML. Quickly develop server and browser independent dynamic sites using the XML standard. Dynamic sites that integrate scripting, database, and commerce can be developed and tested on a Microsoft workstation and deployed on Microsoft or Unix servers.

SUPPORTED STANDARDS
  HTML   SGML   XML   HTTP
  POP3   SMTP   ISAPI   CGI
  NSAPI   UNIX   WINDOWS   JAVA
  ODBC   xBASE   APACHE   JAVASCRIPT

Miva runs as a pre-processor on the web server, interprets the Miva tags and outputs standard HTML, XML, Javascript, and other user interface code to the browser. Use the built-in database and ODBC interfaces to easily manipulate and publish data. Anyone that knows HTML can use Miva.

Miva (Htmlscript 3.0) tags are XML compliant and include:
<MvEVALUATE>, <MvIF>, <MvELSE>, <MvWHILE>, <MvEXPORT>, <MvIMPORT>, <MvCOMMERCE>, <MvLET>, <MvASSIGN>, <MvCALL>, <MvHIDE>, <MvEXIT>, <MvCOMMENT>, <MvFUNCTION>, <MvMAIL>, <MvOPEN>, <MvCLOSE>, <MvFIND>, <MvSKIP>, <MvGO>, <MvADD>, <MvUPDATE>, <MvDELETE>, <MvUNDELETE>, <MvMAKEINDEX>, <MvSETINDEX>, <MvREINDEX>, <MvPACK>, <MvPRIMARY>, <MIVA>...


Majordomo

If you wish to to have a Majordomo listserver activated, email us and tell us the name you would like. There is a $15 monthly fee to have Majordomo activated on a given account. Make sure it has a different name than the name of your domain. For instance if your domain was fredhappy.com, you might want to ask for fredhappydomo.

Once we have set up your Majordomo listserver, you can get help by sending email to majordomo@yourdomain.com. On the first line of your email, just type the word HELP. You will be sent a general help file. If you want more detailed instructions on using Majordomo, you can email:

For full instructions Domo@safe-order.net

Another great resource for Majordomo information is:

http://www.greatcircle.com/majordomo/majordomo.manual.txt


PHP3
 PHP3 is a 3rd party scripting engine. Please Note: We do not  provide support for PHP3.  We have added it for users that our already familiar with it.  To use PHP3 on your domain just end the php pagewith .php3 rather than .html


MySQL

1. Do you support w3-msql?
2. Can I use ODBC with mySQL?
3. How do I connect to mySQL using mySQLPerl Module?
4. Can I use JDBC with MySQL?
5. How many databases can I create?
6. What's the telnet command to activate msql?
7. How do I connect to mySQL through PHP?
8. What's the telnet commands to access mySQL?

1. Do you support w3-msql?
Yes, we support w3-msql lite. You can request that it be put into your cgi-bin at the support desk.

2. Can I use ODBC with mySQL?
At this time we do not support ODBC

3. How do I connect to mySQL using mySQLPerl Module?
Use the following outline to connect and begin querying the mySQL server from a Perl script. Remember that you cannot connect to your databases remotely due to security concerns, you can only connect from localhost.

1. Declarations
You must require the mySQL package for your script to function properly. Do this by including the following line in your code: use Mysql;

2. Connect To The Database
Somewhere near the beginning of your script, you need to make your initial connection to the database server. Using the following form, substitute your database, username, and password for the examples to connect succesfully.
Mysql->connect('localhost','DATABASENAME','USERNAME','USERPASSWORD');

3. Executing A Query
You are now ready to begin querying the database server. Most problems that you may incur will generally occur due to invalid permission settings for the specified user.

4. Can I use JDBC with MySQL?
At this time we do not support JDBC

5. How many databases can I create?
We allow 4 individual databases to be created using your WebControl System

6. What's the telnet command to activate msql?
msql dbname

7. How do I connect to mySQL through PHP?
Use the following outline to connect and begin querying the mySQL server from within your PHP scripts. Remember that you cannot connect to your databases remotely due to security reasons. You can only connect to them form localhost.

1. Connect To The mySQL Server
Use the following statement to connect to the database server. Substitute the username, and password for ones who have created in the WebControl System.

MYSQL_CONNECT('localhost','USERNAME','PASSWORD');

2. Select Your Database
Use the following statement to select the database you wish to connect to. Make sure you substitute the example with your database name.
@mysql_select_db("DATABASENAME");

3. Executing A Query
You are now ready to execute your queries. Most problems that arise with your scripts will be due to incorrect permission settings.

8. What's the telnet commands to access mySQL?
Use the following outline to connect and begin querying the mySQL server from a Telnet. Remember that you cannot connect to your databases remotely due to security concerns, you can only connect from localhost.

1. Connect To The mySQL Server
servername:> mysql -u USERNAME -p
Enter Password: PASSWORD

2. Connect To The Database
mysql> use DATABASENAME;

3. Receving Help
mysql> help

Online Manual Contents