PHP getcwd() functiل
example
get current working directory:
<?php echo getcwd() ?>
result:
/home/php
definition and usage
getchwd() functiل current working directory returns.
syntax
getcwd();
tehrلiل
return value: | if successful, returns the current working directory. if failed, returns FALSE. |
---|---|
PHP version: | 4.0+ |