Seite 1:
Code:
<?
xml version='1.0' encoding='utf-8'?>
<!DOCTYPE
html PUBLIC '-//
W3C//DTD XHTML 1.0 Transitional//EN' 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd'>
<
html xmlns='http://www.w3.org/1999/xhtml'>
<head>
<title>Suchtest</title>
</head>
<body>
...
<form action="seite2.php" method="post">
<input type="text" size="12" name="suche" /><input type="submit" value="..."/>
</form>
...
</body>
</
html>
Seite 2:
Code:
<?
xml version='1.0' encoding='utf-8'?>
<!DOCTYPE
html PUBLIC '-//
W3C//DTD XHTML 1.0 Transitional//EN' 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd'>
<
html xmlns='http://www.w3.org/1999/xhtml'>
<head>
<title>Suchtest</title>
</head>
<body>
...
<?php echo str_replace('Ä', 'Ae', $_POST['suche']); ?>
...
</body>
</
html>
Seite 2 ändert aber nicht zB. das Ä von Änderungen!