Link auf gesamtes Frameset

kesnw

Erfahrenes Mitglied
Hallo,

ich habe ein PHP-Skript geschrieben, welches ein Formular auswertet.

HTML:
<form name="login" action="action-home-content_sample_content.php" method="POST">
...
</form>

Die Formularseite befindet sich in einem Frame. Das PHP-Skript action-home-content_sample_content.php soll nun auf eine neue Seite verlinken, diese aber nicht im gleichen Frame aufrufen, sondern das gesamte Frameset (target="_top").

Wie geht das in PHP? Bisher habe ich es so gelöst:

PHP:
  header("Location: xy.htm");
  exit();

Leider wird die Seite xy.htm im gleiche Frame wie das Formular aufegrufen. Ich möchte jedoch das gesamte Frameset neu aufrufen.

Kann mir jemand helfen?
 
Mit PHP geht es garnicht..... warum nimmst du nicht gleich das von dir Angesprochene in den <form>-Tag hinein?
Code:
<form action="action-home-content_sample_content.php" target="_top">
 
Zurück