jam Posted April 26, 2006 Report Share Posted April 26, 2006 Vai Javascriptam ir kas līdzīgs php .$_SERVER['SERVER_NAME'] ? Link to comment Share on other sites More sharing options...
bubu Posted April 26, 2006 Report Share Posted April 26, 2006 document.location.href? Link to comment Share on other sites More sharing options...
Delfins Posted April 26, 2006 Report Share Posted April 26, 2006 1 Nu uzreiz rodās jautājums - priekš kam tev tas.. 2 var serverName = <?=$_SERVER[sERVER_NAME'];?> Link to comment Share on other sites More sharing options...
jam Posted April 26, 2006 Author Report Share Posted April 26, 2006 man bija tīrs js fails. šis ir īstais: document.location.hostname Link to comment Share on other sites More sharing options...
Recommended Posts