Grabber Posted July 8, 2003 Report Share Posted July 8, 2003 Chau visiem! Ja varat, tad paliidziet man manaa probleemaa ar padomu! Jau ieprieksh pateicos par paliidziibu! Probleema ir sekojosha: Ir uztaisiita maajas lapa ar administratiivo dalju, un shiis lapas admins no lapas administraacijas panelja var izveidot userus. Ir scripts, kursh veido sho izveidoto useru atsevishkjus folderiishus uz servera. Probleema ir taada, ka neskatoties uz noraadiito CHMOD rindinju "define("folderis ieksh user_img", 0777);" serveris nepareizi interpretee CHMOD komandu jaunizveidotajiem folderiishiem. Piem., ja CHMOD tiek noraadiits 777, serveris to interpretee kaa CHMOD 755 utt. Ar jaunizveidoto folderi (manuaalaa paarveidot nesanaak, jo tos folderus veido pati maajas lapa un tiek izmests error's - Change permissions operation failed. The following error occured: Unknown application error E0000550) neko izdariit nevar :( Tobish, ne izdzeest, ne paarveidot CHMOD-u. Ko man vajadzeetu dariit, lai jaunizveidotajiem folderiem CHMOD buutu 777, a to shie useri nevarees bildiites kachaat uz servaka? :( Link to comment Share on other sites More sharing options...
jannis Posted July 9, 2003 Report Share Posted July 9, 2003 nezinu, es folderus taisu shitaa: mkdir($folder,0755); un man ir labi Link to comment Share on other sites More sharing options...
zoltar Posted July 9, 2003 Report Share Posted July 9, 2003 http://www.php.net/manual/en/function.mkdir.php >> tas nav uzbrauciens, tur vienkaarshi apakshaa user kommentos viss ir uzraxtiitc Link to comment Share on other sites More sharing options...
Recommended Posts