Hola a todos
Utilizo el netbeans 6.5 para windows
Intento hacer lo siguiente:
<?php
if (isset($HTTP_POST_FILES['Imagen']['name']) && isset($HTTP_POST_FILES['Imagen']['type']) && isset($HTTP_POST_FILES['Imagen']['size'])){
$HTTP_POST_FILES['Imagen']['name'];
$HTTP_POST_FILES['Imagen']['type'];
$HTTP_POST_FILES['Imagen']['size'];
if( move_uploaded_file($HTTP_POST_FILES['Imagen']['tmp_name'], "imagenes/".$HTTP_POST_FILES['Imagen']['name']) ){
echo "Imagen subida.";
}else{
echo "Imagen no subida.";
}
}
?>
<form name="poner_anuncio" method="post" action=""<? echo $_SERVER['PHP_SELF']; ?>" enctype="multipart/form-data">
Imagen: <input name="Imagen" type="file">
<input type="submit" value="Enviar">
</form>
y me sale el mensaje del titulo "You don't have permission to access /pruebas_imagenes/< on this server."
he visto el phpinfo() y file_uploads esta on, upload_max_filesize tiene 2M, deduzco que es un permiso de los proyectos de netbeasn
Agradeceria si alguien tuviese la respuesta
Gracias a todos y que vaya bien