PHP-manual | ||
---|---|---|
Föregående | Nästa |
Attempts to create the directory specified by pathname.
Note that you probably want to specify the mode as an octal number, which means it should have a leading zero. The mode is also modified by the current umask, which you can change using umask().
Not: Mode is ignored on Windows, and became optional in PHP 4.2.0.
The mode is 0777 by default, which means the widest possible access. For more information on modes, read the details on the chmod() page.
Returnerar TRUE vid framg�ng eller FALSE vid fel.
Not: As of PHP 5.0.0 mkdir() can also be used with some URL wrappers. Refer to Appendix M for a listing of which wrappers support mkdir().
Not: Context support was added with PHP 5.0.0. For a description of contexts, refer to Referens CXXXII, Stream Functions.
Not: The recursive parameter was added as of PHP 5.0.0.
Not: N�r s� kallat safe mode �r p�slaget, kontrollerar PHP om katalogen du f�rs�ker anv�nda har samma UID (�gare) som scriptet som exekveras.
See also rmdir().
Föregående | Hem | Nästa |
lstat | Upp | move_uploaded_file |