PHPでパーミッションの変更
2014/06/06
chmodというみたことが無いPHP関数があったのでメモ。
■参考サイト
http://www.php-ref.com/b2api/03_chmod.html
http://siriasu.s10.xrea.com/etc/permision.htm
chmod("./aaa.txt", 0755);
今のところあんまり使うことはなさそう。
関連記事
-
-
PHPでルーティング用ライブラリ「AltoRouter」の利用方法
PHPフレームワークのCodeIgniterを勉強していた際にルーティング機能が ...
-
-
PHPで「Warning: date(): It is not safe to…」エラーの対応方法
PHPでdate関数を使った際に「Warning: date(): It is ...
-
-
PHP8系で「Uncaught TypeError: Unsupported operand types」エラー対応方法
PHP8系で「Fatal error: Uncaught TypeError: ...
-
-
PHPでis_fileとfile_existsについて
ファイルの存在チェックを行う際に、file_exists関数を 使用していたが、 ...
-
-
PHPにてHTML / 画像ファイルをPDFファイル化する方法(mPDF)
PHPにてHTML / 画像ファイルをPDFファイル化したい。検索してみるもサー ...