Search This Blog

Computer tips - To Get And Show The Ip Via Javascript - PHP - ASP


1. To show the ip via JavaScript

var ip= '';
document.write("Your IP Address is :"+ip+" ");

2. To show IP via ASP
request.ServerVariables("REMOTE_ADDR")

3. TO SHOW IP VIA PHP
$remote_address = getenv("REMOTE_ADDR");echo "Your IP address is $remote_address.";$browser_type = getenv("HTTP_USER_AGENT");echo "You are using $browser_type.";?>

Windows tricks - If you wanna make a autorun file for a CD or DVD you are ready to burn just read this...

1) You open notepad

2) now you write:
[autorun]
OPEN=INSTALL\Setup_filename.EXE
ICON=INSTALL\Setup_filename.EXE

Now save it but not as a .txt file but as a .inf file.

But remember! The "Setup_filename.EXE" MUST be replaced with the name of the setup file. And you also need to remember that it is not all of the setup files there are called '.exe but some are called '.msi

3) Now burn your CD with the autorun .inf file included.

4) Now set the CD in you CD drive and wait for the autorun to begin or if nothing happens just double-click on the CD drive in "This Computer"

0 comments:

Post a Comment