![Stress](http://static.forosdelweb.com/fdwtheme/images/smilies/stress.png)
Lo que estoy intentado es crear una carpeta temporal en mi servidor para que se inserten allí las imágenes. Esto es lo que hago
Código PHP:
<?php
foreach($_FILES as $tagname=>$objekt)
{
// get the temporary name (e.g. /tmp/php34634.tmp)
$tempName = $objekt['tmp_name'];
// get the real filename
$realName = $objekt['name'];
// creamos la carpeta temporal
mkdir("$DOCUMENT_ROOT/pruebas/jupload/$tempName");
{
// where to save the file?
$target = "$DOCUMENT_ROOT/pruebas/jupload/$tempName/$realName";
// print something to the user
echo "<br>Processing file $realName...\n";
flush();
// move the file to the target directory
move_uploaded_file($target);
// end of iteration
echo "next file...\n";
flush();
}
?>
Parse error: parse error
in /home/httpd/vhosts/midominio.com/httpdocs/pruebas/jupload/JUpload.php on line 71
Alguien sabe cómo hacerlo??
Gracias una vez más.