HostingTrade :: Powerful Hosting Solutions
Home Hosting Domains Support About
Satisfied Customers - that's our brand...
Client Login




Support
FAQ
Forums
HelpDesk (NEW!)

Documentation

Statistics
Goodies
HostingTrade.com Web Hosting
Status Verified by
Web Hosting Stuff

Monitored by
UptimeAgent

DNameTrade.com :: Low Cost Domain Names
.: Useful Links :.

Confused with
tech-lingo?

NetLingo.com
Documentation

getcwd

(PHP 4 )

getcwd -- gets the current working directory

Description

string getcwd ( void )

Returns the current working directory.

Example 1. getcwd() example

<?php

// current directory
echo getcwd() . "\n";

chdir('cvs');

// current directory
echo getcwd() . "\n";

?>

This example will output something like:

/home/didou /home/didou/cvs

See also chdir().

 
© 2003-2009 . Service Line, Inc.
2Checkout.com, Inc. is an authorized retailer of HostingTrade.com