In this part of the tutorial we will learn about the function realpath() in context of file handling. And also we will see the example related to the realpath() function
In this part of the tutorial we will learn about the function realpath() in context of file handling. And also we will see the example related to the realpath() function
Syntax for PHP realpath() Function
string realpath(file_path)
Code of PHP realpath() Function
<?php
echo realpath("aa.txt");
?>
Output
C:\xampp\htdocs\filehandling\aa.txt