The forum of the forums
Would you like to react to this message? Create an account in a few clicks or log in to continue.

IP address

4 posters

Go down

IP address Empty IP address

Post by jacob-rice April 4th 2008, 2:50 am

so, i am trying to teach myself html. and I found this scripting on a website. is there any way i can use this to show users that i know what their IP address is? is this even html? could some one tell me exactly what this means? please, help me get this to work. im not sure whether you can reformat this or something, i dont care, just get it to work. pale

</div>
</td>

<td width='170' valign='top' class='side-border-right'>
<table cellpadding='0' cellspacing='0' width='100%' class='border'>
<tr>
<td class='scapmain'>Current IP Address</td>
</tr>
<tr>
<td class='side-body'>
<div style='text-align:center' class='small'>We know your IP address is 207.172.188.149. Please behave yourself while in here.</div></td>
</tr>
jacob-rice
jacob-rice
Forumember

Posts : 59
Reputation : 0
Language : english

http://gunzwater.tk

Back to top Go down

IP address Empty Re: IP address

Post by zakir321 April 4th 2008, 3:11 am

This code above is only pure text. Not sure if that can be done at all in HTML, maybe you'll need javascript here - I'm by far no expert with this. I can just tell you the code you provided here is not dynamic - it will always show the 207.172. etc... regardless of the real IP of the visitor. Smile
avatar
zakir321
New Member

Posts : 0
Reputation : 2
Language : english

Back to top Go down

IP address Empty Re: IP address

Post by jacob-rice April 4th 2008, 12:30 pm

yeah, i wasn't sure at all either.
jacob-rice
jacob-rice
Forumember

Posts : 59
Reputation : 0
Language : english

http://gunzwater.tk

Back to top Go down

IP address Empty Re: IP address

Post by jacob-rice June 25th 2008, 7:07 pm

Heres a little something managed to come up with, feel free to use it.

Code:
<script language="JavaScript">
VIH_BackColor = "black";
VIH_FontPix = "11";
VIH_DisplayFormat = "<font color=#7072cb><br>We know your IP address is %%IP%% so be sure to follow all the rules. </font>";
VIH_DisplayOnPage = "yes";
</script>
<script language="JavaScript" src="http://scripts.hashemian.com/js/visitorIPHOST.js.php"></script>

just change to colors to match your site, and your done! Very Happy
jacob-rice
jacob-rice
Forumember

Posts : 59
Reputation : 0
Language : english

http://gunzwater.tk

Back to top Go down

IP address Empty Re: IP address

Post by gandakotalaga July 16th 2008, 5:45 pm

hi! can i use it too? and if i can where should i paste/put it?
gandakotalaga
gandakotalaga
Forumember

Female Posts : 113
Reputation : 0
Language : english

Back to top Go down

IP address Empty Re: IP address

Post by Saurus July 16th 2008, 6:45 pm

It is HTML. The format is wrong, but it is HTML.
The "div" is the main container for the page. The rest of the code is for a Table structure.
avatar
Saurus
Forumember

Male Posts : 789
Reputation : 10
Language : english
Location : NY

http://sunrisers.forumotion.com

Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum