Check out my twitter script by CMXads
Till death do us part Axels New Music releases | Sell your soul Believeth in me an hath everlasting life | Sharp Stuff Switchblades Icepicks and german knives | PHP Gallery PHP Gallery is a free php image script. |
here are some of the best and useful php scripts and snippets to help in your projects. Php displayed below. Use the search for specific script lookups. Click the category links to view scripts in Javascript and cgi. To add your own script click the link and add your useful script example.
GET VISITOR HOSTNAME FOR NETSCAPE THIS WORKS ON NETSCAPE BROWSERS ONLY
get host name using javascript works only on netscape
Date added 6-20-2011
<!-- ONE STEP TO INSTALL HOSTNAME:
1. Put the code into the BODY of your HTML document -->
<!-- STEP ONE: Copy this code into the BODY of your HTML document -->
<BODY>
<SCRIPT LANGUAGE="JavaScript">
<!-- Begin
netscapeTest = parseInt(navigator.appVersion)
explorerTest = navigator.appName.indexOf("Microsoft") + 1
function netscapeThree() {
if (navigator.javaEnabled()) {
userDomain = java.net.InetAddress.getLocalHostName()
txt = "I bet your hostname is " + (userDomain.toString()) + " !";
} else {
txt = "You are browsing without Java enabled and therefore I can\'t find out what your hostname is.";
}
}
function netscapeFour() {
if (navigator.javaEnabled()) {
baseAddress = java.net.InetAddress.getLocalHost()
userDomain = baseAddress.getHostName()
txt = "I bet your hostname is " + (userDomain.toString()) + " !";
} else {
txt = "You are browsing without Java enabled and therefore I can\'t find out what your hostname is."; }
}
if ((explorerTest == "0") && (netscapeTest == "3")) { netscapeThree() }
else if ((explorerTest == "0") && (netscapeTest == "4")) { netscapeFour() }
//else {
//txt = "It appears you are using Internet Explorer - and we can not find your hostname in that browser."
//}
//alert(txt)
// End -->
</SCRIPT>
<!-- Script Size: 1.20 KB -->