display information using the readlink of two files the same

77 Views Asked by At
function file_info($name) {
  global $info ;                
    $info[0] = $name ;          // the file name
    $info[1] = filesize($name) ;  // the filesize
    $info[2] = filetype($name);   // the filetype                         
    $info[3] = readlink('/Users/NESSA/Documents/Year2/Operating\ System/Lab4'); 
}

Need help in dispalying two of the same files in a directory using readlink. I seem to get a error when using "$info[3] = readlink('/Users/NESSA/Documents/Year2/Operating\ System/Lab4');". The output should be display the link.

0

There are 0 best solutions below