hallo
ich erzeuge mit php eine andere php Datei in der folgender Inhalt drinsteht:
$inhalt = '<?PHP
'.$s1.'
'.$s2.'
'.$s3.'
'.$s4.'
'.$s5.'
?>';
wobei $s1 ... :
$s1 = $_POST['1'];
$s2 = $_POST['2'];
$s3 = $_POST['3'];
$s4 = $_POST['4'];
$s5 = $_POST['5'];
und post['1']...:
<select size="1" name="1">
option value='include ("1.php");'>1</option>
<option value='include ("2.php");'>2</option>
<option value='include ("3.php");'>3</option>
<option value="" selected>leer</option>
wenn ich das jetzt erzeugen lasse kommt nicht
<?PHP
include ('1.php');
?>
sondern
<?PHP
include (/'1.php'/);
?>
woran könnte das liegen?
MfG Tim