adamriley Posted July 6, 2010 Share Posted July 6, 2010 As you will guess after this im rubbish (new) to javascript how can this be done ---------------------------------------------------------------------------------------------------------------- <script language="javascript" type="text/javascript"> var url = document.location.href; window.location="http://localhost/blocked.php?url=+url"; </SCRIPT> ---------------------------------------------------------------------------------------------------------------- Quote Link to comment Share on other sites More sharing options...
adamriley Posted July 7, 2010 Author Share Posted July 7, 2010 Bumpy Quote Link to comment Share on other sites More sharing options...
jug Posted July 7, 2010 Share Posted July 7, 2010 nearly <script type="text/javascript"> var url = document.location.href; window.location = 'http://localhost/blocked.php?url=' + url; </script> Quote Link to comment Share on other sites More sharing options...
adamriley Posted July 9, 2010 Author Share Posted July 9, 2010 Thanks for your reply Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.