How to use Filesystem realpath in PHP
In this article I am going to explain about realpath function in PHP.
PHP realpath() Function
The filesystem realpath function returns the absolute pathname.
Syntax of realpath function
Parameters in realpath function
It has only one parameter:
Parameter |
Description |
path |
Specifies the path to check. |
Example of filesystem realpath function
<html>
<body>
<?php
echo realpath("add.php");
?>
</body>
</html>
|
Output:
You may also want to read these related articles :here
Ask Your Question
Got a programming related question? You may want to post your question here
Programming Answers here