file upload over 2mb
Posted: Thu Nov 25, 2004 10:03 am
hi is there a upload limmit when uploading a file using php to a dir
it will look like its working but any files over 2mb will not upload
can you help
thanks
Brian
Code: Select all
<?php
#-----------------MAKE DIR-----------------------------------------
if ($TheFile != "") {
copy ("$TheFile", $DOCUMENT_ROOT."/folder/$TheFile_name") or die("Could not copy file");
}else {
exit();
}
chmod("/$dir/$TheFile_name", 0755);
?>can you help
thanks
Brian