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: 3760
  • 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: 3760
  • 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 1111 korisnika na forumu :: 25 registrovanih, 4 sakrivenih i 1082 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: 357magnum, BlekMen, bokisha253, Dogma21, draganl, Frunze, Georgius, HogarStrashni, Kibice, Kubovac, LUDI, Mercury, Milan A. Nikolic, milenko crazy north, Milometer, milutin134, MiroslavD, mnn2, Nikola00, Sir Budimir, Skywhaler, Snorks, styg, wizzardone, zastavnik