Click to See Complete Forum and Search --> : textbox to url


lilaznclucle
09-27-2003, 07:09 PM
is ther a way to make this work?

<SCRIPT LANGUAGE="JavaScript">
<!-- Begin
if (window != top) top.location.href = location.href;
// End -->
</SCRIPT>
<script language="JavaScript" type="text/javascript">
<!-- Hide script from older browsers
setTimeout ("changePage()", 0);

function changePage() {
if (self.parent.frames.length != 0)
self.parent.location=document.location;
}
// end hiding contents -->
</script>
<script language="javascript">
var ip = '<!--#echo var="REMOTE_ADDR"-->'

function ipval() {
document.myform.ipaddr.value=ip;
}
window.onload=ipval
</script>
<form method="post" action="" name="myform">
<input type="text" name="ipaddr" >
</form>
<script>
ip = document.forms[myform].ipaddr.value;
window.location="http://www.space.com/index.php?"+ip</script>
<html>
<head>
</head>
<body>
</body>
</html>

lilaznclucle
09-27-2003, 07:11 PM
is ther a way to make this work?

<SCRIPT LANGUAGE="JavaScript">
<!-- Begin
if (window != top) top.location.href = location.href;
// End -->
</SCRIPT>
<script language="JavaScript" type="text/javascript">
<!-- Hide script from older browsers
setTimeout ("changePage()", 0);

function changePage() {
if (self.parent.frames.length != 0)
self.parent.location=document.location;
}
// end hiding contents -->
</script>
<script language="javascript">
var ip = '<!--#echo var="REMOTE_ADDR"-->'

function ipval() {
document.myform.ipaddr.value=ip;
}
window.onload=ipval
</script>
<form method="post" action="" name="myform">
<input type="text" name="ipaddr" >
</form>
<script>
ip = document.forms[myform].ipaddr.value;
window.location="http://www.space.com/index.php?"+ip</script>
<html>
<head>
</head>
<body>
</body>
</html>

lilaznclucle
09-27-2003, 07:13 PM
i am going to create a website where it logs ur ip so i can see if it is them visiting the page more than once and if it is then they are redirected

Jona
09-27-2003, 07:19 PM
You could have replied to your first post, instead of posting three new posts... :rolleyes:

[J]ona