[ale] Error uploading a file using a PHP webpage

Ronald K. Mellema rmellema at exithere.com
Mon Sep 19 10:29:12 EDT 2005


I have found this page to solve all the problems I had with file upload.
http://www.radinks.com/upload/config.php 

I edited only the php.ini file and did not have to change any Apache
configs. SUSE 9.2 and up with Apache 2 all worked.

Ron Mellema
ron at exithere.com

-----Original Message-----
From: ale-bounces at ale.org [mailto:ale-bounces at ale.org] On Behalf Of
To: ale at ale.org
Hughes, Michael
Sent: Monday, September 19, 2005 9:11 AM
To: ale at ale.org
Subject: [ale] Error uploading a file using a PHP webpage

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




More information about the Ale mailing list