spero che sia la sezione giusta, in caso contrario chiedo ai mod di spostarla
ciao a tutti ho un problema con ckeditor/ckfinder in pratica quando cerco di usare la funzione per caricare le immagini sul server mi restituisce questo errore
codice:
codice:
 
non è stato possibile completare la richiesta a causa di restrizioni nei permessi del file system
ho impostato anche i permessi su 777 ma niente
di seguito la pagina in cui c'è l'editor, l host è netsons. grazie a tutti in anticipo
codice PHP:


Codice PHP:
<?php 


$citta 
="roma"
$link=mysql_connect("***********","***********","***********")  
or die (
"Non riesco a connettermi a [b]$db_host");  

@
mysql_select_db (***********, $link)  
or die (
"Non riesco a selezionare il db $database
"
);  

if (isset(
$_REQUEST['nome'])){  
$dati=" INSERT INTO news VALUES (NULL,  
'"
.$_REQUEST['nome']."',  
'"
.$_FILES['file1']['name']."',  
'"
.$_REQUEST['contenuto']."',  
'"
.$citta."' 
)"
;  



mysql_query ($dati$link)  
or die (
"Non riesco ad eseguire la query $dati");  
Echo 
"I Dati sono stati archiviati con successo nel DataBase $database";  
mysql_close ($link);  
echo 
"<meta http-equiv=refresh content=3;url=$PATH_INFO>";  
}  
$uploaddir2 '../roma/download/';  
$uploadfile $uploaddir2 basename($_FILES['file1']['name']);  
echo 
"<pre>";  
if (
move_uploaded_file($_FILES['file1']['tmp_name'], $uploadfile)) {  
   echo 
"File is valid, and was successfully uploaded.\n";  
} else {  
   echo 
"\n";  
}  
echo 
':';  
print_r($_FILES);  

print 
"</pre>";  

script/editor/tiny_mce/tiny_mce.js 
?>
 

<html>  
<head>  
<title>Form dati</title>  
<title>Replace Textareas by Class Name &mdash; CKEditor Sample</title> 
    <meta content="text/html; charset=utf-8" http-equiv="content-type" /> 
    <script type="text/javascript" src="ckeditor/ckeditor.js"></script> 
    <script type="text/javascript" src="ckeditor/ckfinder/ckfinder.js"></script> 
    <script src="sample.js" type="text/javascript"></script> 
    <link href="sample.css" rel="stylesheet" type="text/css" /> 
     
     
</head>  
<body>  

<TABLE border=0 width=100% cellpadding=3>  
<tr>  
<td width=100% colspan=2>  
<p align=center>[b]inserisci i dati per la sezione news 

  


  
<form method="POST" enctype="multipart/form-data" action=<? $PATH_INFO ?>>  
[/b]</td>  
</tr> 

<tr>  
<td width=18%>[b]titolo[/b]</td>  
<td width=82%><input type=text name=nome size=20></td>  
</tr>  
<tr>  
<td width=18%>[b]immagine di anteprima[/b]</td>  
<td width=82%><input type=file name=file1 size=20></td>  
</tr> 


<tr>  
<td width=18%>[b]contenuto[/b]</td>  
<td width=82%><textarea id="editor1" name="contenuto"></textarea> 
            <script type="text/javascript"> 
                CKEDITOR.replace( 'editor1',  
    {  

        filebrowserBrowseUrl : 'ckeditor/ckfinder/ckfinder.html',  
        filebrowserImageBrowseUrl : 'ckeditor/ckfinder/ckfinder.html?Type=Images',  
        filebrowserFlashBrowseUrl : 'ckeditor/ckfinder/ckfinder.html?Type=Flash',  
        filebrowserUploadUrl : 'ckeditor/ckfinder/core/connector/php/connector.php?command=QuickUpload&type=Files',  
        filebrowserImageUploadUrl : 'ckeditor/ckfinder/core/connector/php/connector.php?command=QuickUpload&type=Images',  
        filebrowserFlashUploadUrl : 'ckeditor/ckfinder/core/connector/php/connector.php?command=QuickUpload&type=Flash'  
    }); 
            </script> 
        </td>  
</tr> 

<tr>  
<td width=18%>[b]<input type=submit value=Inserisci nuovi dati>[/b]</td>  
<td width=82%></form></td>  
</tr>  
</table>  



 

</body>  
</html>