![]() |
![]() ![]() |
![]() |
![]()
Post
#1
|
|
Grupa: Zarejestrowani Postów: 69 Pomógł: 7 Dołączył: 18.08.2010 Skąd: Rzeszów Ostrzeżenie: (10%) ![]() ![]() |
Witam
Po wgraniu obrazka na serwer chcę ustalić mu prawa przez chmod, robię to w ten sposób
ale podczas wykonywania pliku sykakuje mi błąd: Warning: chmod() [function.chmod]: No error in D:\Program Files (x86)\WebServ\httpd\rafal\edit\img.php on line 90 Warning: chmod() [function.chmod]: No error in D:\Program Files (x86)\WebServ\httpd\rafal\edit\img.php on line 91 Warning: Cannot modify header information - headers already sent by (output started at D:\Program Files (x86)\WebServ\httpd\rafal\edit\img.php:90) in D:\Program Files (x86)\WebServ\httpd\rafal\edit\img.php on line 93 Czy ktoś wie o co chodzi ? Jestem początkującym programistą i nie bardzo wiem. Ten post edytował sliwa007 12.12.2011, 12:30:26 |
|
|
![]()
Post
#2
|
|
Grupa: Zarejestrowani Postów: 1 527 Pomógł: 438 Dołączył: 28.06.2011 Skąd: Warszawa Ostrzeżenie: (0%) ![]() ![]() |
To może być jakiś bug php (IMG:style_emoticons/default/smile.gif)
Spróbuj tak dla wszelkiej pewności dać przed chmod'em if(file_exists('sciezka')). Może coś masz nie tak z tymi plikami |
|
|
![]()
Post
#3
|
|
Grupa: Zarejestrowani Postów: 915 Pomógł: 210 Dołączył: 8.09.2009 Skąd: Tomaszów Lubelski/Wrocław Ostrzeżenie: (0%) ![]() ![]() |
Wina windows? Daj @ przed chmod
|
|
|
![]()
Post
#4
|
|
Grupa: Zarejestrowani Postów: 1 798 Pomógł: 307 Dołączył: 13.05.2009 Skąd: Gubin/Wrocław Ostrzeżenie: (0%) ![]() ![]() |
Cytat Warning: Cannot modify header information - headers already sent by (output started at D:\Program Files (x86)\WebServ\httpd\rafal\edit\img.php:90) in D:\Program Files (x86)\WebServ\httpd\rafal\edit\img.php on line 93 http://forum.php.pl/index.php?act=Search&a...rs+already+sent @Sephirus tak, to jest bug w pechapie: https://bugs.php.net/bug.php?id=43511 Ten post edytował by_ikar 12.12.2011, 12:48:47 |
|
|
![]()
Post
#5
|
|
Grupa: Zarejestrowani Postów: 69 Pomógł: 7 Dołączył: 18.08.2010 Skąd: Rzeszów Ostrzeżenie: (10%) ![]() ![]() |
|
|
|
![]() ![]() |
![]() |
Aktualny czas: 23.08.2025 - 04:05 |