Home » php application global config and settings – php superglobals

php application global config and settings – php superglobals

php application global config and settings – php superglobals

Today, We want to share with you php application global config and settings – php superglobals.
In this post we will show you php application global config and settings – php superglobals, hear for php application global config and settings – php superglobals we will give you demo and example for implement.
In this post, we will learn about php application global config and settings – php superglobals with an example.

// Debugging simple in php
ini_set('error_reporting', E_ALL);

define('DATABASE_HOST', 'localhost');
define('DATABASE_NAME', 'dbname');
define('DATABASE_USER', 'root');
define('DATABASE_PASS', 'new*******');

define('COMPANY_LOGO', 'images/logo.png');//your company logo
define('COMPANY_LOGO_WIDTH', '458'); // logo width
define('COMPANY_LOGO_HEIGHT', '925');  // logo height
define('COMPANY_NAME','www.tatacompany.com'); // your company name
define('COMPANY_ADDRESS_1','bhudev char rasta chock'); // company Address 1
define('COMPANY_ADDRESS_2','paldi asharm road gav');// company Address 2
define('COMPANY_ADDRESS_3','Ahemdabad');// company Address 3
define('COMPANY_COUNTY','Gujrat');// company Address 4
define('COMPANY_POSTCODE','E17 8EE');// Browser version

define('COMPANY_NUMBER','your Company No: 8995656784'); // Company invoce registration number
define('COMPANY_VAT', 'your Company VAT: 9898225624'); // Company latest TAX/VAT number

// Latest simple EMAIL DETAILS
define('EMAIL_FROM', '[email protected]'); // company Email address your basic invoice emails will be sent from
define('EMAIL_NAME', 'Tata company limited'); //company Email from address
define('EMAIL_SUBJECT', 'your Invoice subject'); //simple Invoice email subject
define('EMAIL_BODY_INVOICE', 'simple Invoice body'); //company Invoice email body
define('EMAIL_BODY_QUOTE', 'and last Invoice body'); //company Invoice email body
define('EMAIL_BODY_RECEIPT', 'simple Invoice body'); // company Invoice email body

define('INVOICE_PREFIX', 'DSP'); // bill invoce name Prefix at start of invoice like as (_invoicedate) - leave empty '' for no prefix
define('INVOICE_INITIAL_VALUE', '6582'); // sample Initial invoice started on 1001 etc order number (start of increment)
define('INVOICE_THEME', '#3D3D3D'); // your Theme latest colour, this sets a colour defines theme for the PDF generate invoice
define('TIMEZONE', 'Europe/London'); //default company Timezone
define('DATE_FORMAT', 'DD/MM/YYYY'); //default date and time format DD/MM/YYYY or MM/DD/YYYY
define('CURRENCY', '£'); //company Currency symbol
define('ENABLE_VAT', true); //company Enable set TAX/VAT
define('VAT_INCLUDED', true); //company Is set VAT included or excluded?
define('VAT_RATE', '24'); //company This is set the percentage value

define('PAYMENT_DETAILS', 'Company Name Ltd<br>Sort Code: 00-00-00<br>Account Number: 9825485'); // Payment information
define('FOOTER_NOTE', 'http://www.pakainfo.co.uk/');//footer name global



Demo – Source code

Read Also:  how to insert data using ajax in laravel with datatables?

We hope you get an idea about php application global config and settings – php superglobals
We would like to have feedback on my Information blog .
Your valuable any feedback, Good question, Inspirational Quotes, or Motivational comments about this article are always welcome.
If you liked this post, Please don’t forget to share this as Well as Like FaceBook Page.

Read Also:  PHP Mail Attachment - Php Send Email File-Images Attachments

We hope This Post can help you…….Good Luck!.

Related FAQ

Here are some more FAQ related to this Article:

  1. Read Also:  FIX 500 internal server error laravel
  2. Read Also:  PHP Yii Framework Global Variables Tutorial with Examples
  3. Read Also:  html5 email link - mailto Examples
  4. Read Also:  Laravel Send Mailgun Mail using PHP cURL
  5. Read Also:  WordPress AJAX - Wordpress jQuery AJAX POST Request
  6. Read Also:  PHP Functions - MY SQL Connects and Global Variable
  7. Read Also:  Toggle Switch Button in VueJs Example
  8. Read Also:  jQuery Modal Popup Window Dialog Box
  9. Read Also:  Group by and Having Clause in SQL
  10. Read Also:  Vue js Axios HTTP Delete Method Example Tutorial

Leave a Comment

Your email address will not be published. Required fields are marked *