www.DNameTrade.com - the domain names for everybody: ".com", ".net", ".org" and ".info" - $11/year, ".us" and ".biz" - $10/year, ".ws" - $16/year. Also, the domain names ".cc", ".tv", ".be", ".jp" and more... Special Domain Names Transfer Pricing...
           
  Affordable Business Hosting

CPanel Login


Support
FAQ
Forums
HelpDesk
E-mail
Docs
Statistics
Network
Goodies
Free Trial!
Custom Plan!
Useful Links


 

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().



 
  © 2004-2008 Hosting To Business (Hosting2B). Service Line, Inc.
2Checkout.com, Inc. is an authorized retailer of Hosting2B.com