|
Problem with upload script.
Okay, I have a script I use to manage a site. It creates the directories and uploads/deletes/moves the files. The problem I'm having is that it won't allow an upload over 3MB. Since files that large are rare, it should be trivial to upload the file manually. However, because the directories are created by the php script, I can't write to the them. cPanel's File Manager won't allow me to change the directory's permissions, either. I tried writing a script that moved the manually uploaded file, but the permissions on the file won't allow the script to move it. Changing permissions in File Manager didn't help.
So, to make this easier in the future, how do I fix it to allow larger uploads, preferably up to 15MB(that's the max the script will allow)? My server is Sonet, if that makes any difference.
Thanks in advance...
|