1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

htaccess help

Discussion in 'Programming' started by Tomp, Jul 2, 2009.

  1. #1
    Hey,

    I need to set up so that htaccess redirects all sub domains to a php file, is there any way to do this?

    for example

    1234.mydomain.co.uk > mydomain.co.uk/php.php?1234

    so the sub domain basically acts as the variable.

    i want this to work for any subdomain entered

    Thanks

    Tom
     
    Tomp, Jul 2, 2009 IP
  2. Tomp

    Tomp Well-Known Member

    Messages:
    279
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    105
    #2
    Anyone? could really use some help :)
     
    Tomp, Jul 6, 2009 IP
  3. Bohra

    Bohra Prominent Member

    Messages:
    12,573
    Likes Received:
    537
    Best Answers:
    0
    Trophy Points:
    310