domain detecting in perl

Discussion in 'Programming' started by Nestrer, Feb 11, 2007.

  1. #1
    If I made a lot of domain all park/point to one, then how to detect the domain name in perl and output based on it?

    Excuse me, I don't know perl :D
     
    Nestrer, Feb 11, 2007 IP
  2. fsmedia

    fsmedia Prominent Member

    Messages:
    5,163
    Likes Received:
    262
    Best Answers:
    0
    Trophy Points:
    390
    #2
    Do you *have* to use perl? why not use PHP or something?
     
    fsmedia, Feb 11, 2007 IP
  3. Nestrer

    Nestrer Well-Known Member

    Messages:
    1,663
    Likes Received:
    103
    Best Answers:
    0
    Trophy Points:
    135
    #3
    I have to use perl, because the script is in perl..
     
    Nestrer, Feb 11, 2007 IP
  4. picouli

    picouli Peon

    Messages:
    760
    Likes Received:
    89
    Best Answers:
    0
    Trophy Points:
    0
    #4
    $ENV{'SERVER_NAME'}

    Cheers
     
    picouli, Feb 13, 2007 IP