Please convert this javascript to php

Hi,
I have a javascript which prevent my site from being open in an iframe.

<script>if(self != top) { top.location = self.location; }</script>

But, it doesn’t work if user have disabled javascript in browser settings.
Is it possible to convert that code to php?
Is there any other code for this?
Please help.
Thanks.

I think that your best bet would be to things into a to mess up the site if Javascript is disabled. I don’t know if it is possible for any server side language to accomplish that.

Sponsor our Newsletter | Privacy Policy | Terms of Service