Salve ragazzi, questa è la prima volta che ricevo quest'errore.
In pratica un software m'invia un form multipart/form-data, nella pagina upload.php ho inserito questo codice:
Appena avvio il software incomincia a passarmi le immagini, però ad un certo punto mi da quest'errore:Codice PHP:$directory = '/web/htdocs/www.intimoviro.com/home/zencart/images/';
// verifica l'esistenza del file
$file_temporaneo= $_FILES['file']['tmp_name'];
$nome_file = $_FILES['file']['fileName'];
//esegue l'upload e controlla che vada a buon fine
if (move_uploaded_file($file_temporaneo, $directory . $nome_file)){
echo "";
} else {
echo "Si è verificato un errore durante l'upload";
}
505 HTTP Version Not Supported
Cosa significa? Come risolverlo?
Grazie
In realtà questo è tutto l'errore che mi restituisce:
codice:<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"> <html><head> <title>505 HTTP Version Not Supported</title> </head><body> <h1>HTTP Version Not Supported</h1> The server encountered an internal error or misconfiguration and was unable to complete your request.</p> Please contact the server administrator, postmaster@intimoviro.com and inform them of the time the error occurred, and anything you might have done that may have caused the error.</p> More information about this error may be available in the server error log.</p> </body></html>

Rispondi quotando