Re: ftp_put
| From: | Aaron Koning | Date: | Thu, 08 Dec 2005 06:01:50 +0000 |
| Subject: | Re: ftp_put | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-40795@lists.php.net to get a copy of this message | ||
This page tells you which PHP ini variables can be edited and where:
http://ca3.php.net/manual/en/ini.core.php
This function can set ini variables based on the rules in the page above:
http://ca.php.net/ini_set
You probably need to modify:
- post_max_size
- upload_max_file_size
- memory_limit
- max_execution_time
Aaron
On 12/7/05, Chris Payne <chris@artistwd.com> wrote:
>
> Hi there everyone,
>
>
>
> I'm using FTP to upload a file from a form, the information is stored in a
> MySQL DB and then FTP'd to the server. Is it possible - without altering
> the php.ini file as I don't have access to this on my clients server - to
> be
> able to upload large files rather than small ones? I know with POST there
> are limits, but we're talking about megabytes rather than KB's needing to
> be
> uploaded. They HAVE to be uploaded via some kind of form as it sends the
> data to a database such as the file name and location so that it can
> easily
> be found by the system otherwise I'd just tell them to use normal FTP
> software.
>
>
>
> What's the best way of achieving this? I'm talking file 5-20megs in size..
>
>
>
> Thanks everyone.
>
>
>
> Chris
>
>
>