yes i have checked those values,
and i did change them initially.
I even restarted phpcgi
and recached php-wrapper.fcgi.
But when i attempt to run my upload script it returns an error of 1 for the php FILES array, which means the php file limit is set lower than file.
im using a mp3 file.
At this stage things are pointing to my php script so ill add it in here.
<?php
include "dbconn.php";
//include "php.ini";
$title = $_POST['title'];
$url = $_POST['url'];
$file = $_POST['file'];
//insert print data into db
$connection = connectDB();
$insert = " INSERT INTO audio ".
" VALUES (null, \"$title\", \"$url\", null)";
$result2 = mysql_query($insert,$connection);
disconnectDB($connection);
if (move_uploaded_file ($_FILES['file'] ['tmp_name'],
"audio/{$_FILES['file'] ['name']}") ) {
echo 'all good!';
}
else
{
switch ($_FILES['file'] ['error'])
{ case 1:
print '<p> The file is bigger than this PHP installation allows</p>';
break;
case 2:
print '<p> The file is bigger than this form allows</p>';
break;
case 3:
print '<p> Only part of the file was uploaded</p>';
break;
case 4:
print '<p> No file was uploaded</p>';
break;
}
}
?>