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