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: 3745
  • 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: 3745
  • 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 1159 korisnika na forumu :: 36 registrovanih, 6 sakrivenih i 1117 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: 8u47, A.R.Chafee.Jr., AK - 230, Asparagus, babaroga, bladesu, BORUTUS, Bubimir, ccoogg123, croato, Duh sa sekirom, FOX, goxin, havoc995, kinez88, krkalon, Kubovac, Lucije Kvint, mean_machine, menges, milanovic, milenko crazy north, naki011, nuke92, opt1, pera bager, raptorsi, Sir Budimir, sombrero, Srky Boy, Stanlio, vasa.93, virked, VP6919, |_MeD_|, 223223