Post
#1
|
|
|
Grupa: Zarejestrowani Postów: 12 Pomógł: 0 Dołączył: 11.01.2007 Ostrzeżenie: (0%)
|
Witam, Chciałem zmienić upload_max_filesize na <input name="MAX_FILE_SIZE" type="hidden" value="10737418240" /> albo jakis ? upload limit pliku 5MB
Kod <eyeUploadX> <config> <upload_max_filesize>' . $maxUpload_bytes . '</upload_max_filesize> </config> <labels> <addFiles caption="' . htmlspecialchars(i18n('translate',array('Add files')),ENT_QUOTES,'UTF-8') . '" /> <maxUploadFilesize caption="' . htmlspecialchars(i18n('translate',array('Max filesize allowed: %s MB', array($maxUpload_mbytes))),ENT_QUOTES,'UTF-8') . '" /> <progressFile caption="' . htmlspecialchars(i18n('translate',array('Transfering: ')),ENT_QUOTES,'UTF-8') . '" /> <progressInit caption="' . htmlspecialchars(i18n('translate',array('Add files to transfer, then press Upload now!')),ENT_QUOTES,'UTF-8') . '" /> <removeFile caption="' . htmlspecialchars(i18n('translate',array('Remove')),ENT_QUOTES,'UTF-8') . '" /> <upload caption="' . htmlspecialchars(i18n('translate',array('Upload now!')),ENT_QUOTES,'UTF-8') . '" /> </labels> </eyeUploadX> Z góry dzięki Ten post edytował erix 22.06.2009, 16:43:22
Powód edycji: [erix] przeniosłem
|
|
|
|
![]() |
Post
#2
|
|
|
Grupa: Zarejestrowani Postów: 389 Pomógł: 141 Dołączył: 11.04.2009 Ostrzeżenie: (0%)
|
|
|
|
|
Post
#3
|
|
|
Grupa: Zarejestrowani Postów: 12 Pomógł: 0 Dołączył: 11.01.2007 Ostrzeżenie: (0%)
|
mam hosting cpanel i niewiem gdzie jest php.ini albo coś. widze ze jest limit 20M a chce go ustawic na 5M jak to zrobic w php.ini albo .htacces albo coś ? Prosze o pomoc
|
|
|
|
Post
#4
|
|
|
Grupa: Zarejestrowani Postów: 80 Pomógł: 0 Dołączył: 27.05.2009 Ostrzeżenie: (0%)
|
|
|
|
|
Post
#5
|
|
|
Grupa: Zarejestrowani Postów: 12 Pomógł: 0 Dołączył: 11.01.2007 Ostrzeżenie: (0%)
|
nie działa
CODE php_value post_max_size 5M php_value upload_max_filesize 5M php_value max_execution_time 600 i pokazal sie blad CODE Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server administrator, webmaster@dfhsdgh.pl and inform them of the time the error occurred, and anything you might have done that may have caused the error. More information about this error may be available in the server error log. Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request. Apache/2.2.11 (Unix) mod_ssl/2.2.11 OpenSSL/0.9.8e-fips-rhel5 mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635 Server at system-24.pl Port 80 Ten post edytował Manfias 21.06.2009, 18:36:13 |
|
|
|
Post
#6
|
|
|
Grupa: Zarejestrowani Postów: 984 Pomógł: 41 Dołączył: 16.03.2002 Skąd: Płock Ostrzeżenie: (0%)
|
ustaw w php przy pomocy ini_set
|
|
|
|
Post
#7
|
|
|
Grupa: Zarejestrowani Postów: 12 Pomógł: 0 Dołączył: 11.01.2007 Ostrzeżenie: (0%)
|
przepraszam, jestem zielonym i prosze o wyjansic, albo podajcie gotowy php
Ten post edytował Manfias 21.06.2009, 19:57:39 |
|
|
|
Post
#8
|
|
|
Grupa: Zarejestrowani Postów: 984 Pomógł: 41 Dołączył: 16.03.2002 Skąd: Płock Ostrzeżenie: (0%)
|
|
|
|
|
Post
#9
|
|
|
Grupa: Zarejestrowani Postów: 12 Pomógł: 0 Dołączył: 11.01.2007 Ostrzeżenie: (0%)
|
CODE <? string ini_set ( string $upload_max_filesize , string $upload_max_filesize ) ?> dobrze? Sami niewiem |
|
|
|
Post
#10
|
|
|
Grupa: Zarejestrowani Postów: 984 Pomógł: 41 Dołączył: 16.03.2002 Skąd: Płock Ostrzeżenie: (0%)
|
eh
To jest tylko legenda, żebyś wiedział jakich typów danych funkcja oczekuje. Zresztą poniżej masz przykłady. Po angielsku to słowo to examples.
Php zmieni wartość na czas trwania tego programu. Ten kod powinien być uruchamiany za każdym razem przed zgraniem pliku. Ten post edytował em1X 21.06.2009, 22:22:22 |
|
|
|
Post
#11
|
|
|
Grupa: Zarejestrowani Postów: 12 Pomógł: 0 Dołączył: 11.01.2007 Ostrzeżenie: (0%)
|
a zapisac php.ini ?
|
|
|
|
Post
#12
|
|
|
Grupa: Zarejestrowani Postów: 984 Pomógł: 41 Dołączył: 16.03.2002 Skąd: Płock Ostrzeżenie: (0%)
|
Sets the value of the given configuration option. The configuration option will keep this new value during the script's execution, and will be restored at the script's ending.
Czas pouczyć się angielskiego, od tego są manuale: Ustawa wartość konfiguracyjną. Będzie trzymana na czas trwania skryptu (...) |
|
|
|
Post
#13
|
|
|
Grupa: Zarejestrowani Postów: 12 Pomógł: 0 Dołączył: 11.01.2007 Ostrzeżenie: (0%)
|
CODE <config> <upload_max_filesize>' ini_set('upload_max_filesize', '5000') '</upload_max_filesize> </config> dobrze? |
|
|
|
Post
#14
|
|
|
Grupa: Zarejestrowani Postów: 984 Pomógł: 41 Dołączył: 16.03.2002 Skąd: Płock Ostrzeżenie: (0%)
|
nie mam pojęcia co to jest
|
|
|
|
Post
#15
|
|
|
Grupa: Zarejestrowani Postów: 12 Pomógł: 0 Dołączył: 11.01.2007 Ostrzeżenie: (0%)
|
CODE <?php ini_set('upload_max_filesize', '124567890'); ?> ten gdzie zapsiac? |
|
|
|
![]() ![]() |
|
Aktualny czas: 24.12.2025 - 17:39 |