Pentiums Posted April 25, 2008 Report Share Posted April 25, 2008 Nu pieņemsim ka uz vienu IP adresi ir novirzīti 2 DNS ble.lv un bla.lv Kā uz php koda pārbaudīt ka ir ieiets ble.lv domēnā un bla.lv ? :) un pēcam attiecīgi redirectot uz mapi ble vai bla :) Link to comment Share on other sites More sharing options...
andrisp Posted April 25, 2008 Report Share Posted April 25, 2008 Man liekas, ka to iekš $_SERVER masīva varēja redzēt. Link to comment Share on other sites More sharing options...
Pentiums Posted April 25, 2008 Author Report Share Posted April 25, 2008 paldies! :) viss sanāca :) $_SERVER['HTTP_HOST'] Link to comment Share on other sites More sharing options...
Recommended Posts