[ale] Error uploading a file using a PHP webpage
Hughes, Michael
Michael.Hughes at CottonStates.com
Mon Sep 19 09:10:44 EDT 2005
Trying to upload a file using a PHP embedded script ( guess that's the
proper way to say it). I bring up a webpage and it tells me to select
my file and then click an upload button, theoretically it should
import/upload my file to the /index directory but I get this error.
This error probably means that the file you tried to upload exceeded the
limit set by your host. The default limit in PHP is 2MB. You can contact
your host's Support group to have them increase the limit in the PHP.ini
file, or you can upload the file using FTP. Use the Add GEDCOM page to
add a GEDCOM file you have uploaded using FTP.
I went into the PHP.ini file and changed the max upload to 25M
; Whether to allow HTTP file uploads.
file_uploads = On
; Temporary directory for HTTP uploaded files (will use system default
if not
; specified).
;upload_tmp_dir =
; Maximum allowed size for uploaded files.
upload_max_filesize = 25M
I didn't see any other entries for an upload size. Does anyone have any
ideas?
thanks
Mike
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Ale
mailing list