Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

 
Reply to this topicStart new topic
> Funkcja chmod()
Diablos
post
Post #1





Grupa: Zarejestrowani
Postów: 165
Pomógł: 6
Dołączył: 17.06.2005

Ostrzeżenie: (0%)
-----


Napisalem sobie pewien skrypt oparty o pliki textowe. Chcialem dorobic takze instalator. Aby ustawic chmody uzylem funkcji chmod.

Kod
chmod('/folder', 0777);


Cytat
Warning: chmod(): Unable to access /folder in /home/accounts_s/sad/public_html/install.php on line 3

Warning: chmod(): open_basedir restriction in effect. File(/folder) is not within the allowed path(s): (~:/tmp/upload:/tmp/sesje) in /home/accounts_s/sad/public_html/install.php on line 3


Funkcja nie dziala poprawnie, albo ja cos zle robie. Prosze o pomoc.
Go to the top of the page
+Quote Post
mike
post
Post #2





Grupa: Przyjaciele php.pl
Postów: 7 494
Pomógł: 302
Dołączył: 31.03.2004

Ostrzeżenie: (0%)
-----


Funkcja na serwerze jest wyłączona ze względów bezpieczeństrwa.
Go to the top of the page
+Quote Post

Reply to this topicStart new topic
1 Użytkowników czyta ten temat (1 Gości i 0 Anonimowych użytkowników)
0 Zarejestrowanych:

 



RSS Aktualny czas: 21.08.2025 - 07:43