Follow along with the video below to see how to install our site as a web app on your home screen.
Anmerkung: This feature currently requires accessing the site using the built-in Safari browser.
ich würd sagen entweder per GET oder POST Request.... dabei wird die Seite einfach neu geladen und vom Skript generiert (z.B. index.php?param1=Hallo)Powell schrieb:Wie kann ich auf einer Seite mit der Endung php, eine Variable aus dem parent-frameset in ein Textfeld laden.
Javascript funzt auf einer Javascript Seite!!! Warum es bei Dir nicht funzt, kann mehrere Ursachen haben....Powell schrieb:warum funzt Javascript nicht auf der phpSeite?
<html>
<head>
<title>UntitledFrameset-13</title>
</head>
<body bgcolor="#FFFFFF" text="#000000">
<?PHP
if(!isset($url)){
?>
<?PHP
}
$string = file("http://".$url);
$string = implode("\n",$string);
$string = htmlspecialchars($string);
?>
<p>
</p>
<p> </p>
<p>Hier gehts lang
<form method="POST" action="get.php" onsubmit="return false" name="sur">
<p>
<input type="text" name="url" size="20" onblur="document.sur.submit();">
<input type="submit" value="Abschicken" name="B1">
<input type="reset" value="Zurücksetzen" name="B2">
</p>
<p> </p>
<p>
<textarea rows="10" name="S1" cols="50" onblur="document.formular.DateiInhalt.value=document.sur.S1.value;"><?PHP echo $string; ?></textarea>
<input type="text" name="wwr">
</p>
</form>
<form method="POST" action="get.php" onsubmit="return false" name="sus">
<p>
<input type="text" name="url2" size="20" onFocus="document.sus.url.value=parent.wert1;" onblur="document.sus.submit();">
<input type="submit" value="Abschicken" name="B1">
<input type="reset" value="Zurücksetzen" name="B2">
</p>
<p> </p>
<p>
<textarea rows="10" name="text" cols="50" onblur="document.formular.DateiInhalt.value=document.sus.text.value"><?PHP echo $string; ?></textarea>
</p>
</form>
</body>
</html>
Powell schrieb:Wie kann ich auf einer Seite mit der Endung php, eine Variable aus dem parent-frameset in ein Textfeld laden.
Oder
warum funzt Javascript nicht auf der phpSeite?
<html>
<head>
<title>Test Page (non Frameset ;-) )</title>
<head>
<script language="javascript">
alert ("Javascript geht!!!");
</script>
<body>
ma guggen!!
</body>
</html>
<?PHP
if(!isset($url)){
?>
<table border="0" bgcolor="#FFFFFF">
<tr>
<td align="center">
Bitte rufen Sie diese Datei nicht direkt auf !!!<br>
<a href="javascript:history.back();">Zurück</a>
</td>
</tr>
</table>
<?PHP
exit;
}
$string = file("http://".$url);
$string = implode("\n",$string);
$string = htmlspecialchars($string);
?>