Page redirect from 3 frames to 1 frame

Page redirect from 3 frames to 1 frame

offline
  • Pridružio: 30 Sep 2006
  • Poruke: 137

anyone know how to redirect 3 frames page to 1 frame page?



Registruj se da bi učestvovao u diskusiji. Registrovanim korisnicima se NE prikazuju reklame unutar poruka.
offline
  • PHP developer
  • Pridružio: 22 Mar 2006
  • Poruke: 3662
  • Gde živiš: 127.0.0.1

This will do the trick, although it's javascript Smile

<script type="text/javascript"> parent.top.location.href="whatever.php"; </script>



offline
  • Pridružio: 30 Sep 2006
  • Poruke: 137

Is there a PHP code for this?

offline
  • PHP developer
  • Pridružio: 22 Mar 2006
  • Poruke: 3662
  • Gde živiš: 127.0.0.1

yes, there is...

<?php echo "<script type='text/javascript'> parent.top.location.href = 'whatever.php'; </script>"; ?>


just kidding, and think (and googling prove me right) that there is no other way to do what you want using PHP... This works, why you should waste time (and time = money) searching some other way to do the same thing?

Ko je trenutno na forumu
 

Ukupno su 531 korisnika na forumu :: 0 registrovanih, 0 sakrivenih i 531 gosta   ::   [ Administrator ] [ Supermoderator ] [ Moderator ] :: Detaljnije

Najviše korisnika na forumu ikad bilo je 3466 - dana 01 Jun 2021 17:07

Korisnici koji su trenutno na forumu:
Korisnici trenutno na forumu: Nema