PHP Classes

File: examples/dbclass.connectinfo.i.php

Recommend this page to a friend!
  Classes of Barton Phillips   MySQL Slideshow   examples/dbclass.connectinfo.i.php   Download  
File: examples/dbclass.connectinfo.i.php
Role: Configuration script
Content type: text/plain
Description: Configuration script
Class: MySQL Slideshow
Present slideshow from images listed in a database
Author: By
Last change: This is a new version of mysqlslideshow. I have removed all of the class/ stuff and included it in the single file examples/mysqlslidehow.class.php.
The class file now has all of the mysqli logic in the class. It also has what was the mysqlslideshow.php logic after the class.
The other file have been modified to work better.
modified: README.md
deleted: class/Error.class.php
deleted: class/SqlException.class.php
deleted: class/dbAbstract.class.php
deleted: class/dbMysqli.class.php
deleted: class/helper-functions.php
deleted: class/mysqlslideshow.class.php
modified: composer.json
deleted: examples/ERROR.log
new file: examples/Pictures/P1010001.JPG
new file: examples/Pictures/P1010002.JPG
new file: examples/Pictures/P1010003.JPG
modified: examples/addimages.php
modified: examples/addupdateimage.php
modified: examples/browserside.html
modified: examples/dbclass.connectinfo.i.php
modified: examples/ie.html
modified: examples/mktable.sql
new file: examples/mysqlslideshow.class.php
deleted: examples/mysqlslideshow.php
modified: examples/serverside.php
Date: 10 days ago
Size: 827 bytes
 

Contents

Class file image Download
<?php
// This file can be place in a directory that is not in the Apache path for extra security.
$Host = "localhost:3306"; // the host. This is probably OK unless you are using a remote host
$User = "barton"; //"YourUserName"; // Change this to your MySql user name
$Password = "6706424"; //"YourPassword"; // Change this to you MySql password
//
// If Database is NOT 'mysqlslideshow' add $Database
// If the table name is NOT 'mysqlslidshow' add $Table
// If the Database and Table are 'mysqlslideshow' don't add the variables as they are defaulted
// to 'mysqlslideshow'
// OR set the variable to null.
//
$Database = "barton"; // if database name is not 'mysqlslideshow'
//$Database = null; // if the databasse name is not 'mysqlslideshow' add name
//$Table = null; // if the table name is not 'mysqlslideshow' add name