|
|
PART 7 - DATABASES: MySQL, phpMyAdmin, MivaScript
MySQL MySQL To access your database, at the shell prompt type 'mysql -p' (without the quotes). You will then be prompted for your database password. Alternatively, you may use phpMyAdmin to administer your database. A MySQL, phpMyAdmin FAQ is available here. For instructions on using MySQL, please refer to the MySQL site at http://www.mysql.com. For instructions on using phpMyAdmin, please refer to the official phpMyAdmin site at http://www.phpmyadmin.net. Miva Script (formerly Htmlscript) The Miva Script v3.2 Reference Manual can be found at www.miva.com/docs/reference.html. You can also refer to this well-written, easy-to-understand tutorial for beginners. The personal version of the powerful Miva Engine for Windows, Miva Mia, is available for download, FREE of charge! Miva Mia enables you to take advantage of the advanced features of Miva Script during the design process by utilizing your PC instead of the web server. 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:
Miva Script has a variety of preconfigured products that require path information. We have preconfigured Miva to automatically look into the /home/yourdomain/htsdata directory for data files. If data is placed in this directory, an example call would be as follows:
To call Miva Script through the secure server, use the following: https://machine.safe-order.net/cgi-bin/smiva?yourdomain/yourpage.mv "Machine" should be replaced with your machine name. Your machine name was included in the Welcome e-mail we sent you. Your machine name is also listed on your Web Control Panel.
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 Script 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>, and <MIVA>. | |||||||||||||||||||||
| Copyright © 1998-2004 Tuffy Enterprizes. All Rights Reserved. Copyright Notice | Policies & Guidelines | Privacy Statement | Contact |