Hi I have the following code on the form page.
<center class="style7">
<input type="hidden" name="MAX_FILE_SIZE" value="10000000000000" />
<span class="style1">Attach a Document/Screen Grab?:
then on log.php i ahve this.
$target_path = "uploads/";
$target_path = $target_path . basename( $FILES['uploadedfile']['name']);
$FILES['uploadedfile']['tmp_name'];
if(move_uploaded_file($FILES['uploadedfile']['tmp_name'], $target_path)) {
echo "The file ". basename( $FILES['uploadedfile']['name']).
" has been uploaded";
} else{
echo "";
}
this all works fine untill i try and upload a file larger than 2 megs. then it just goes to the else statement and carrys on like normal without uploading. the php.ini file is set to allow 30M... not just the default 8M and i have included a lot of zeros in the form field bit.
but because its faulting at 2 MB+ (or at elast appears to be) then im guessing its a setting somewhere.
anyone know where it might be?
cheers!