• Categories
    • PHP
    • phpMyAdmin
    • PHPMailer
    • FFMpeg
    • PHPEXcel
    • PHPDoc
    • PHPUnit
    • CakePHP
    • CakePHP 2.0
    • Cake PHP 2.1
    • CakePHP Model
    • Facebook PHP SDK
    • composer-php
    • PHP 7
    • PHP GD
    All Categories
  • About

how to get the header value, if we don't know the value because the value is random from the server

phphttp-headers


PHP Snippet 1:

$value = $_SERVER['HTTP_ALPHABET'];
//notice the pattern and the conversion to uppercase $_SERVER['HTTP_XXXXXX_XXXX'];

Related Snippets

Can't remotely connect to MySQL error (13) with PHP script, connecting through CLI works

Symfony 4: "Autowire: you should configure its value explicitly."

protect my blog content

How to Install Composer Require doctrine/dbal

GuzzleHttp Hangs When Using Localhost

Fatal error: Trait 'LaminasDbAdapterLaminasDbAdapterAdapterInterface' not found in /var/www/vendor/laminas/laminas-db/src/Adapter/Adapter.php

PHPSpreadsheet - How Do I Use Auto Migration Tool

Combining a describing and one array with data

How to redirect to another page after n seconds in wordpress without using javascript?

Elasticsearch - Want to sort by field in all indices where that particular field available or not if not then avoid it

Yii2: How do I debug console commands?

Warning: A non-numeric value encountered

Why do I have invalid argument supply for foreach in Laravel for json response? [duplicate]

How can I get data from PHP to Android TextView?

Show date difference as "20" instead of "20 years ago"

About Contact Privacy policy Terms and conditions