EarthLink.net   Start Page   Web Mail   Biz Center   Support  
 
     
Search  
................................................................................................................
Web Hosting Help | Control Panel  

Using Miva Scripts With Your EarthLink Web Hosting Site


Introduction

Miva Script, like its open-source cousin PHP , is a server-side HTML embedded scripting language.

Miva Scripts are executed by the Miva Engine, part of the web server, which interprets your script in accordance with the Miva Script language. Miva Script is quite powerful and allows you to create extremely sophisticated active web pages "on the fly."

Note: Although Miva Script is fairly simple to use, it does require some programming skills and is intended for advanced webmasters only.


Why use Miva Script?

Miva Script contains many functions to facilitate advanced Web features such as form interpretation, cookies, http-header manipulation, automatic headers and footers, dynamic page generation, etc.

Using Miva Script, your web pages can do tricks such as display the current time and date, track user's activities from page to page, process forms, display a standardized header or footer, and much more.

Similar in functionality to perl CGI scripts, Miva Scripts are executed by your Web server prior to being sent to the user. Unlike CGI scripts however, Miva Scripts are embedded within your HTML file itself , making the program easier to read, debug and understand at a glance. This is quite similar to how PHP works, although Miva uses a different syntax.

Like HTML and PHP, Miva Script is tag-based, so it does not have a steep learning curve for novice webmasters. For a discussion of more advantages to using the Miva Script language, visit the Miva web page at http://www.miva.com/docs/api/index.html#script


Does EarthLink support Miva?

Presently, all EarthLink web servers based in Digital Unix are equipped to use Miva Script.

Note: EarthLink's Business Services Support technicians cannot assist in the creation or maintenance of Miva Scripts. For help with your scripts, visit Mivas's documentation area at http://www.miva.com/docs/ .


Creating a Miva Script File

The first thing to do before writing a Miva Script-enabled web page is to visit Miva's instructional area at http://www.miva.com/docs/ .

There you will find complete documentation of the Miva Script language, example code, and links to sites that use and support Miva Script.

How to Create A Miva Script-enabled Web Page

  1. Write your Miva Script page as an ordinary text file using a standard text editor or web editor, much as you would for a regular HTML-based page. (Remember, the application you're using to edit your pages must let you directly modify the HTML source to add Miva Script tags)

  2. After you've finished writing your page, upload the file to your web server's /www directory using your FTP application or the File Manager.

  3. To test your script, try loading the file into your web browser.

  4. If you need to debug your script, simply edit the file, re-upload, then reload the page with your browser.

Remember that all Miva Script files should have an extension of .mv .


Members and visitors to the EarthLink website agree to abide by our Member Policies.
EarthLink Privacy Policy
© 2002 EarthLink, Inc.