/ / Read and write for owner, nothing for everybody else chmod ("/ somedir / somefile", 0600); / / Read and write for owner, read for everybody else chmod (" / somedir / somefile", 0644); / / Everything for owner, read and execute for others chmod (" / somedir / somefile", 0755); / / Everything for owner, read and execute for owner's group chmod (" / somedir / somefile", 0750);
?php chmod( "/ somedir / somefile", 755); / / notation décimale; probablement FALSE ?php chmod (" / somedir / somefile", 755); / / notation décimale; probablement FALSE chmod ("/ somedir / somefile", 0755); / / notation octale; valeur du mode correcte?