is_writable « File Directory « PHP






1.is_writeable
2.is_writable() tells you whether you can write to a file.
3.Testing for write permission