![]() |
![]() |
![]()
Post
#1
|
|
Grupa: Zarejestrowani Postów: 7 Pomógł: 0 Dołączył: 15.04.2003 Skąd: Małopolska Ostrzeżenie: (0%) ![]() ![]() |
Witam Szanownych Grupowiczow,
Mam dosc duzy problem z upload'em plikow. Wszystko poprawnie dzialalo do czasu wprowadzenia ograniczen przez admina mojego serwera. Glowne ograniczenie polega na zmianie uprawnien do pliku tmp na serwerze. Z tego co sie orientuje to mechanizm upload'u dziala nastepujaco: 1.wysylany jest plik do katalogu /tmp na serwrze- definiowany w php.ini 2. plik jest przenoszony do zadanego przez nas katalogu Moje pytanie brzmi: Jak zmienic katalog tmp?(IMG:http://forum.php.pl/style_emoticons/default/questionmark.gif) ? Pozdrawiam |
|
|
![]() |
![]()
Post
#2
|
|
Grupa: Zarząd Postów: 2 277 Pomógł: 6 Dołączył: 27.12.2002 Skąd: Wołów/Wrocław ![]() |
Cytat Files will by default be stored in the server's default temporary directory, unless another location has been given with the upload_tmp_dir directive in php.ini. The server's default directory can be changed by setting the environment variable TMPDIR in the environment in which php runs. Setting it using putenv() from within a php script will not work. This environment variable can also be used to make sure that other operations are working on uploaded files, as well.
Można skorzystać również z ini_set(); |
|
|
![]() ![]() |
![]() |
Aktualny czas: 7.10.2025 - 13:43 |