dir name php
snippet in php

dir name php

user8427

<?php
dirname(__FILE__);
?>