Ceci est le fichier Texte6.php, dans Cadre3
Qui a chargé DefCadre6.php par l'instruction php :

Print "<script language=\"javascript\">\n<br>
if(parent.frames.length == 0) parent.frame.href = \"DefCadre6.php?Texte=$NomDuFichier\"\n<br>
</script>\n";<br>

Dont le résultat est l'instruction javascript :
<script language="javascript">
if(parent.frames.length == 0) parent.location.href = "DefCadre6.php?NomDuFichier=http://Rep/Texte6.php"
</script>

Le résultat est aussi visible dans la barre d'adresse.

(Bien noter "parent.location.href" et non "parent.frame.location" ou une autre variante.)