PHP Classes

File: index.php

Recommend this page to a friend!
  Classes of Tofeeq ur Rehman   Bread crumbs   index.php   Download  
File: index.php
Role: Application script
Content type: text/plain
Description: example
Class: Bread crumbs
Generate breadcrumb links from page URI
Author: By
Last change: more ease to integrate
Date: 15 years ago
Size: 755 bytes


Class file image Download
            change the RewriteBase in your htaccess file to your site base url
            type url in address bar as
$config = array();
$config['db_host'] = "localhost";
$config['db_name'] = "mvc";
$config['db_user'] = "root";
$config['db_pass'] = "cyba";
$config['site_name'] = "breadcrumbs";

$config['http_host'] = "http://".$_SERVER['HTTP_HOST']."/".$config['site_name']."/";

$bc = new breadCrumbs($config['http_host'],$config['site_name'],"lnkfeatured");
$bread_crumbs = $bc->getBreadCrumbs();