Re: [PHP-DB] ftp_put

Re: [PHP-DB] ftp_put

am 08.12.2005 06:56:08 von Joe Harman

Hi Chris... sometimes there is no replacement for a FTP program... but
you can use INI_SET() at in your PHP file to temporarily set the file
upload size. i think you will have to change the time out settings
also

look at the manual on ini_set... also search this list for ini_set

even better... take a look at this http://www.radinks.com/upload/config.php

Joe



On 12/8/05, Chris Payne 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 ther=
e
> 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 easi=
ly
> 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
>
>
>


--
Joe Harman
---------
* My programs never have bugs, they just develop random features.

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php