iFrame + PHP Help
iFrame + PHP Help
Out of context: Reply #1
- Started
- Last post
- 3 Responses
- bigtrickagain0
you could do it in javascript...
<script language="javascript">
if(window.location == top.location) {
top.location.href="logout.php";
}
</script>- Thx for the quick reply, that's an option. My concern is if you disable JS, would you be able to access the content?spot13
- without js, the iframe would not redirect if accessed directly, nobigtrickagain
- It might be possible to enforce the use of JS by making the content load through xmlhttp requests.spot13