warum geht das nicht????
PHP-Code:
<?php
$var = "Karli";
$name = "Wendt";
mkdir('$var/$name', 0777);
?>
<?php
$var = "Karli";
$name = "Wendt";
mkdir($var."/".$name, 0777);
?>
<?php
$var = "Karli";
$wendt = "Wendt";
mkdir($var);
mkdir($var."/".$wendt);
?>
<html> <head> <title>Untitled Document</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> </head> <body bgcolor="#FFFFFF" text="#000000"> <form action="test.php" method="get"> <input type="text" name="name" size=30> <BR><BR> <input type="text" name="var" size=30> <BR><BR> <input type="submit" value="Senden"> </form> </body> </html>
<?php
mkdir($var);
mkdir($var."/".$name);
?>
<?php
mkdir($var);
mkdir($var."/".$name);
?>
Kommentar