SoFunction
Updated on 2025-03-09

Summary of methods to get URL and IP addresses


<table width=100% cellpadding=0 cellspacing=0 border=0 >

<script>

thisURL = ;

thisHREF = ;

thisSLoc = ;

thisDLoc = ;

strwrite = "<tr><td valign=top>thisURL: </td><td>[" + thisURL + "]</td></tr>"

strwrite += "<tr><td valign=top>thisHREF: </td><td>[" + thisHREF + "]</td></tr>"

strwrite += "<tr><td valign=top>thisSLoc: </td><td>[" + thisSLoc + "]</td></tr>"

strwrite += "<tr><td valign=top>thisDLoc: </td><td>[" + thisDLoc + "]</td></tr>"

( strwrite );

</script>

thisDLoc = ; <BR>

thisURL = ; <BR>

thisHREF = ; <BR>

thisSLoc = ;<BR>

<script>

thisTLoc = ;

thisPLoc = ;

thisTHost = ;

thisHost = ;

strwrite = "<tr><td valign=top>thisTLoc: </td><td>[" + thisTLoc + "]</td></tr>"

strwrite += "<tr><td valign=top>thisPLoc: </td><td>[" + thisPLoc + "]</td></tr>"

strwrite += "<tr><td valign=top>thisTHost: </td><td>[" + thisTHost + "]</td></tr>"

strwrite += "<tr><td valign=top>thisHost: </td><td>[" + thisHost + "]</td></tr>"

( strwrite );

</script>

thisTLoc = ; <BR>

thisPLoc = ; <BR>

thisTHost = ; <BR>

thisHost = ;<BR>

<script>

tmpHPage = ( "/" );

thisHPage = tmpHPage[ -1 ];

tmpUPage = ( "/" );

thisUPage = tmpUPage[ -1 ];

strwrite = "<tr><td valign=top>thisHPage: </td><td>[" + thisHPage + "]</td></tr>"

strwrite += "<tr><td valign=top>thisUPage: </td><td>[" + thisUPage + "]</td></tr>"

( strwrite );

</script><tr><td>