Dooling Posted December 10, 2007 Report Share Posted December 10, 2007 (edited) Kods ir šāds: mkdir("/inbox", 0775); Un rāda paziņojumu: Permisson denied on line ... Kods ir pareizs, vai ne?Bet hostinga administratori, saka, ka nav liegts darboties ar šo funkciju? Kas varētu būt vēl par problēmu, kāpēc nedarbojas šī funkcija? P.S. safe_mode = off Edited December 10, 2007 by Dooling Link to comment Share on other sites More sharing options...
Val Posted December 10, 2007 Report Share Posted December 10, 2007 mēģini bez / Link to comment Share on other sites More sharing options...
Dooling Posted December 10, 2007 Author Report Share Posted December 10, 2007 (edited) Tā arī bija mēģināts tāpat nedarbojas Edited December 10, 2007 by Dooling Link to comment Share on other sites More sharing options...
Delfins Posted December 10, 2007 Report Share Posted December 10, 2007 Tad vainīgs ir viens - php procesa owners ir citādāks nekā foldera owners (parasti uploaders). 1.) uztaisi folderi "data" ar progu 2.) saliec RW permissions Link to comment Share on other sites More sharing options...
Dooling Posted December 10, 2007 Author Report Share Posted December 10, 2007 Un kur to folderi veidot, tur kur stāv kods? Ar Total Commander izveidoju folderi tur kur stāv kods un saliku permisijas 0775. Nekas nav mainījies Link to comment Share on other sites More sharing options...
Delfins Posted December 10, 2007 Report Share Posted December 10, 2007 ieliec 0777 pārliecinies, ka tev pareizais ceļš DOCUMENT_ROOT + "/data/" + "tavs_jaunais_folderis" Link to comment Share on other sites More sharing options...
Dooling Posted December 10, 2007 Author Report Share Posted December 10, 2007 Šādi man aizgāja. Tagad sanāk man vajag visus folderus jāveido tajā "data" folderī? Link to comment Share on other sites More sharing options...
andrisp Posted December 10, 2007 Report Share Posted December 10, 2007 Veido, kur gribi - ka tik tiesības ir ;) Link to comment Share on other sites More sharing options...
Recommended Posts