server-variables Questions
6
Solved
I'm trying to use Basic HTTP Authentication and followed the example on the PHP manual page. But it doesn't work for me. The variable $_SERVER['PHP_AUTH_USER'] doesn't seem to be set. When a user t...
Internode asked 11/11, 2010 at 0:43
3
Solved
What does the utmscr and/or utmcct values mean in reference to the Http cookie Server variable? Are they acronyms or short for something?
We are getting Elmah errors with the title "System.Web.Htt...
Feodor asked 4/5, 2009 at 18:35
11
Solved
What is the difference between $_SERVER['HTTP_HOST'] and $_SERVER['SERVER_NAME'] in PHP?
When would you consider using one over the other and why?
Neuropsychiatry asked 19/2, 2010 at 15:29
3
Solved
I tried to implement a small authentication via http and copied this bit of code from the net to check whether this will work properly:
<?php
if(!isset($_SERVER['PHP_AUTH_USER'])) {
header('W...
Electrocute asked 13/8, 2011 at 21:10
4
Solved
What is the difference between these two variables?
REMOTE_HOST and REMOTE_ADDR.
Pekoe asked 28/9, 2010 at 11:19
2
Solved
In exisiting .Net Web Site, Server Variables is accessed using
HttpContext.Current.Request.ServerVariables["HTTP_ACCEPT_LANGUAGE"]
How to access the ServerVariables in AspnetCore 1.0 Web Applic...
Tarter asked 18/7, 2016 at 6:8
2
In my local environment (PHP 5.4.24 on Apache 2.2.26) $_SERVER["SCRIPT_URL"] is present, but I read around that this variable is not always present, even though I couldn't find exactly when it is a...
Townley asked 26/6, 2014 at 11:12
2
Solved
If there is not any difference, why having two server parameters to achieve one behavior?
Prosody asked 25/5, 2012 at 13:18
1
© 2022 - 2024 — McMap. All rights reserved.