Home Find Current Working Directory

    Find Current Working Directory

    0

    Some of our code requires you locate your current working directory (or full server path). While there’s ,more than a few methods, PHP’s getcwd() may be the easiest.

    Save in a text file called cwd.php and browse to that page with your browser. It’ll print the working directory to your screen.

    Shortt URL for this post: http://shor.tt/2nUA