I have checked the settings in this thread and others referenced. However, I am pretty new to Lightspeed and I'm not even sure I am looking in all the right places.
I have a very basic upload script here:
http://www.x x x x.com/uploadtest/
The php code is simply:
Code:
<?php
$target = "upload/";
$target = $target . basename( $_FILES['uploaded']['name']) ;
$ok=1;
if(move_uploaded_file($_FILES['uploaded']['tmp_name'], $target))
{
echo "The file ". basename( $_FILES['uploadedfile']['name']). " has been uploaded";
}
else {
echo "Sorry, there was a problem uploading your file.";
}
?>
Very small files (a few K) upload fine. a 2 MB file (which should upload pretty quickly) causes the page to hang for a few minutes and then says something about the connection being terminated.
I would really appreciate someone pointing me very specifically where I should look on this.
Last edited by NiteWave; 04-27-2011 at 09:30 PM..
|