[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[no subject]
- <!--x-content-type: text/plain --> "http://www.w3.org/TR/html4/loose.dtd">
- <!--x-date: Mon, 19 Sep 2005 09:55:56 -0400 -->
- <!--x-from-r13: [vpunry.Vhturf ng QbggbaEgngrf.pbz (Vhturf, [vpunry) -->
- <!--x-message-id: [email protected] -->
- <!--x-subject: [ale] Error uploading a file using a PHP webpage -->
- <li><em>date</em>: Mon, 19 Sep 2005 09:55:56 -0400</li>
- <li><em>from</em>: Michael.Hughes at CottonStates.com (Hughes, Michael)</li>
- <li><em>subject</em>: [ale] Error uploading a file using a PHP webpage</li>
1. post_max_size variable in php.ini
according to the documentation here <a rel="nofollow" href="http://httpd.apache.org/docs/2.0/mod/core.html#limitrequestbody">http://httpd.apache.org/docs/2.0/mod/core.html#limitrequestbody</a>
the limitrequestbody is set to 0 which is unlimited.
I haven't changed anything in the httpd.conf file
Off to do more looking for a solution.
thanks for the suggestions.
Mike
_____
From: ale-bounces at ale.org [<a rel="nofollow" href="mailto:ale-bounces">mailto:ale-bounces</a> at ale.org] On Behalf Of Warren Myers
To: ale at ale.org
Sent: Monday, September 19, 2005 9:16 AM
To: Atlanta Linux Enthusiasts
Subject: Re: [ale] Error uploading a file using a PHP webpage
What error do you get? I've had a similar problem in the past, but it was related to read/write permissions of the directory. There's also a memory limit setting for PHP that affects file uploads, but I don't recall where.
WMM
On 9/19/05, Hughes, Michael <Michael.Hughes at cottonstates.com> wrote:
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
_______________________________________________
Ale mailing list
Ale at ale.org
<a rel="nofollow" href="http://www.ale.org/mailman/listinfo/ale">http://www.ale.org/mailman/listinfo/ale</a>
--
<a rel="nofollow" href="http://warrenmyers.com">http://warrenmyers.com</a>
"God may not play dice with the universe, but something strange is going on with the prime numbers." --Paul Erd?s
-------------- next part --------------
An HTML attachment was scrubbed...
</pre>
<!--X-Body-of-Message-End-->
<!--X-MsgBody-End-->
<!--X-Follow-Ups-->
<hr>
<ul><li><strong>Follow-Ups</strong>:
<ul>
<li><strong><a name="00438" href="msg00438.html">[ale] Error uploading a file using a PHP webpage</a></strong>
<ul><li><em>From:</em> jloden at toughguy.net (Jay Loden)</li></ul></li>
</ul></li></ul>
<!--X-Follow-Ups-End-->
<!--X-References-->
<!--X-References-End-->
<!--X-BotPNI-->
<ul>
<li>Prev by Date:
<strong><a href="msg00417.html">[ale] Auditing root shells</a></strong>
</li>
<li>Next by Date:
<strong><a href="msg00419.html">[ale] Auditing root shells</a></strong>
</li>
<li>Previous by thread:
<strong><a href="msg00410.html">[ale] Error uploading a file using a PHP webpage</a></strong>
</li>
<li>Next by thread:
<strong><a href="msg00438.html">[ale] Error uploading a file using a PHP webpage</a></strong>
</li>
<li>Index(es):
<ul>
<li><a href="maillist.html#00418"><strong>Date</strong></a></li>
<li><a href="threads.html#00418"><strong>Thread</strong></a></li>
</ul>
</li>
</ul>
<!--X-BotPNI-End-->
<!--X-User-Footer-->
<!--X-User-Footer-End-->
</body>
</html>