I have php nuke installed along with a module that allows you to upload a local file onto the server (Don't worry this isn't really a php nuke question). The problem that I am having is that I can't seem to upload a file > 2 MB (it seems like the cutoff is below 2 megs). I was wondering if the copy() function itself has restrictions or if it is a problem with the module(although I have ripped the code apart!!). I would love some suggestions, Thanks!
Josh
2097152 bytes are 2 MB, to increase this, edit in php.ini the section [Paths and Directories]. There you will find upload_max_filesize. Make a new limit ( MB x 1024 x 1024) and don't forget to restart the webserver.
Thank you very much!!