wow!!!
this is the code i was looking for. thank you.
but still the code is not 100% perfect.
i.e the code can be test through a server (like wamp server). this code not allow to that. so we should put in that also.
testing on local machine via "http://localhost" or "127.0.0.1".
Is this correct ???
Code:
<script type="text/javascript">
onload=function(){
if((document.URL.substring(0,7) == "http://")||(document.URL.substring(0,7) == "http://localhost")){document.write("Execution on remote hosts is disabled.")}
}
</script>
you help me 95%. please help me other 5% also.
thanx
Bookmarks