Hoowla
01792 687 146
Login
  • LOGIN
  • Request A Live Demo
  • | Home
  • Products
    • Quote Calculators
      • Conveyancing Quote Calculator
      • Wills & LPA Quote Calculator
    • Case Management Software
    • Conveyancing Software
    • Practice Management Software
    • Team Holiday Manager
  • Practice Areas
    • Conveyancing
      • Conveyancing Quote Calculator
      • Client Onboarding
      • Custom Workflows
      • Ordering Searches
      • SDLT Submissions
      • Enquiries Management
      • Document Management
      • Land Registry Forms
      • eSignatures
      • Email Integration
      • Client Portal
      • Completion Packs
    • Family Law
      • Case Workflows
      • Client Portal
      • Email Management
      • Document Management & Automation
      • Divorce Proceedings
      • Child Arrangements
      • Case Bundling & Court Pack Preparation
      • Time Recording
    • Wills & Probate
      • Wills & LPA quote Calculator
      • Case Workflows
      • Client Portal
      • Probate Applications
      • Automatic Legal Form Filling
      • Estate Accounts & Distribution
      • Email Management
      • Time Recording
    • Personal Injury
      • Client Portal
      • Case Bundling & Court Pack Preparation
      • Case Workflows
      • Document Management & Automation
      • Email Management
      • Evidence & Witness Statement Management
      • Time Recording
    • Litigation
      • Client Portal
      • Matter Management
      • Case Bundling & Court Pack Preparation
      • Document Management & Automation
      • Case Workflows
      • Email Management
      • Time Recording
    • Immigration & Asylum
      • Client Portal
      • Case Workflows
      • Email Management
      • Document Management & Automation
      • Online client questionnaires & data collection
      • Time Recording
    • Legal Accounting
      • Trust & Client Accounting
      • Client Ledger
      • Completion Statements
      • Completion Packs
      • Time Recording
    • Practice Management
      • Team Calendars
      • Holiday Management
      • Compliance Area
      • Role-based Permissions
      • Audit Trails
  • Integrations
    • Armalytix
    • Confirmly
    • HM Land Registry
    • Law Society TA Forms
    • LMS Integration
    • TM Connect
  • Pricing
  • About Us
    • About Us
    • Case Studies
    • What Is Hoowla?
    • Careers at Hoowla
  • Resources
    • Support Team
    • News & Press Hub
      • Hoowla In North America & Canada
      • Customer Success Stories
      • Feature Updates
      • Integration & Partner News
      • News & Press Releases
      • Thought & Industry Pieces
    • Help Guides
    • Data Migration
    • Guide To Changing Case Management Software
    • Checking Your Case Management Contract
  • Support

Config.php Work Online

// Environment detection (example using server name) $env = ($_SERVER['SERVER_NAME'] === 'localhost') ? 'development' : 'production';

Use require_once to include the file. This ensures the script stops if the config is missing and prevents it from being loaded multiple times, which would waste server resources. Common Real-World Examples Framework / Tool Config File Name Key Features wp-config.php config.php

A typical config.php file consists of a series of key-value pairs, defining configuration settings for the application. These settings may include: // Environment detection (example using server name) $env

To make these settings available in your other PHP files, use the require_once statement at the top of those files. Stack Overflow require_once 'config.php' // If you used constants, access them directly: access them directly:

Contact

T:
E:

Linkedin

Terms & Conditions
Privacy
Security 

Subscribe

Subscribe to our newsletter

Request a demo

Interested in what we have to offer?

Watch Demo

Talk to us

  • Design by Clockwork Bear
Company No: 08541543 | VAT Number: 275 2003 28 | Copyright © Hoowla 2025