Jump to content

estelle

Members
  • Posts

    2
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

estelle's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. Thanks, it does help :) I looked up those descriptions and wasn't really sure about what to make of it.  I appreciate your opinion!  I'll start by using SERVER_NAME and then if I run into problems i'll consider checking HTTP_HOST.
  2. Hi, Can anyone provide examples of where $_SERVER['SERVER_NAME'] and $_SERVER['HTTP_HOST'] would differ? The only example I've found is when running on localhost becaues I use a specific port and the two variables come out as: $_SERVER['HTTP_HOST'] --> localhost:10001 $_SERVER['SERVER_NAME'] --> localhost Are there occasions where one variable will be blank and the other will be set? TIA :)
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.