Return to Snippet

Revision: 69398
at June 13, 2015 01:03 by ursdeep


Initial Code
Get Current Server Path in PHP

Ref: https://techfiddler.wordpress.com/2015/03/29/get-current-server-path-in-php/

<?php
echo getcwd();
chdir('xyz');
?>

Initial URL
https://techfiddler.wordpress.com/2015/03/29/get-current-server-path-in-php/

Initial Description
Get Current Server Path in PHP

Initial Title
Get Current Server Path in PHP

Initial Tags
php, code, directory

Initial Language
PHP