Apache variables

Author Topic: Apache variables  (Read 730 times)

Offline chinmay.sahooTopic starter

  • Trade Count: (0)
  • Full Member
  • ***
  • Thank You 2
  • Posts: 158
  • Karma: 0
    • Hot Shaper
Apache variables
« on: 05-24-2016, 03:07:43 »
Apache keeps track of dozens of variables. We can’t include a complete list of them here, as the variables you use will vary depending on your current setup. Here are some of the ones you might use frequently in your scripts.

As you look at this list and phpinfo(), keep in mind that if you are not getting what you want out of your Web server variables, you will need to make changes to your server configuration, not PHP. PHP just passes the information along and cannot alter these variables. There is also a fair amount of overlap between PHP and Apache variables. These are also available as keys of the $_SERVER array variable.


 

Related Topics

  Subject / Started by Replies Last post
0 Replies
1050 Views
Last post 11-23-2011, 00:42:29
by Walalayo
0 Replies
2534 Views
Last post 01-23-2012, 23:10:09
by hostaddonltd
0 Replies
665 Views
Last post 02-15-2016, 03:58:29
by chinmay.sahoo
1 Replies
1123 Views
Last post 05-11-2016, 01:38:52
by TomClarke
4 Replies
1412 Views
Last post 07-18-2017, 03:11:58
by Nickindred