PHP lchgrp() İşlevi
❮ PHP Dosya Sistemi ReferansıÖrnek
Sembolik bir bağlantının grup sahipliğini değiştirin:
<?php
$target = "downloads.php";
$link = "downloads";
symlink($target, $link);
lchgrp($link, 8)
?>
Tanım ve Kullanım
lchgrp() işlevi, bir sembolik bağın grup sahipliğini değiştirir.
Not: Bu bir HTML bağlantısı değil, dosya sistemindeki bir bağlantıdır.
Not: Bu işlev Windows platformlarında çalışmaz.
Sözdizimi
lchgrp(file, group)
Parametre Değerleri
Parameter | Description |
---|---|
file | Required. Specifies the path to the symlink |
group | Required. Specifies the new group by name or number |
Teknik detaylar
Geri dönüş değeri: | Başarıda DOĞRU, başarısızlıkta YANLIŞ |
---|---|
PHP Sürümü: | 5.1.3+ |
❮ PHP Dosya Sistemi Referansı