Info
Installation
Downloads
DemoForumRegister
Compare Prices:
Motherboards
Abit
ASUS
Gigabyte
Intel
iWill
Shuttle
Soyo
Super Micro
Tyan
More...
Processors
AMD
Intel
More...
Memory
SDRAM
RDRAM
DDRAM
More...
Video Cards
ATI
Visiontek
PNY
3Dfx
More...
More Products
Powered by
|
phpMyQuote
Version: 0.20
Supported platforms: PHP,mySQL
Released date: 2003-05-05
1.) Unzip archive into the directory you want to use on you web server
2.) After that you have to move to "sql" directory where you will find a file called "dump.sql" which contains information for building database structure, tables and default data.
3.) Create a database (Skip if you already have mysql database)
mysqladmin create database_name
4) Now fill the databases:
mysql database_name < dump.sql
5) Database is now done. Now you have to edit the file called "config.inc.php"
Change this lines:
$host = "localhost";
$username = "username";
$password = "password";
$database = "database";
$mytable = "quotes";
6.) Now you can point your browser to:
http://yourdomain.com/path_of_myQuote
7.) You're now in quote manager. You can add, remove or edit quotes. We're suggesting you to protect this folder!
--------------------------------------------------------------------------------
How to install Random Quote Viewer into your webpage:
1.) The first thing is to edit file quotes.inc.php. You just have to change the line:
$path = "/home/httpd/virtual/temp/myQuotes/";
Just write the right path where config.inc.php exist !
2.) Now open your personal webpage and go to the position where random quote should be displayed. You have to include file quotes.inc.php and then you just call function ShowQuote() which return string with quote:
Example:
include("quotes.inc.php");
echo ShowQuote();
You should also check for the right path in include statement.
We have also include example which can be found in file testQuote.php
|
|