You are here: Re: file upload « PHP Programming Language « IT news, forums, messages
Re: file upload

Posted by juglesh on 01/19/06 23:07

doorman wrote:
> juglesh wrote:
> > Adam Plocher wrote:
> >
> >>You might be able to do ini_set("upload_max_filesize","50M");
> >
> >
> > you may also be able to use a .htaccess file, the contents of which may
> > look like this:
> >
> > # php_value name value
> > php_value post_max_size 50M
> > php_value upload_max_filesize 50M
> > php_value max_execution_time 16666
> >
>
> when trying this htaccess i get the 500 error from the server... is

This means your server isnt set up to use the .htaccess files. I
recall one server giving me a 500 error because of one part of the
htaccess but the rest was ok, so you could contact your host and ask
them about it.

> there any way to get around this ini setting by ftp upload in php? is it
> possible?

There are ftp funcs in php, I havent used them. You could get a
standalone app for the client side that can ftp. Who are the end
users?

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация