Answers for "symlink in php"

PHP
1

symlink in php

<?ph
  // Symlink() is a function to create a symbolic link
  $target = 'path/to/somefile.extension';
  $link = 'File New Link Name';
  $test = symlink($target, $link);
  if($test) {
    echo 'Link created Successfuly.';
  }else {
    echo 'link creation failed.';
  }
?>
Posted by: Guest on August-20-2021

Browse Popular Code Answers by Language