php

Get current directory in PHP

You can get the current directory in PHP using this code

<?php
    echo getcwd();
?>
Was this helpful?