php function equivalent for UNIX 'pwd' command

This is a discussion on php function equivalent for UNIX 'pwd' command within the PHP Language forums, part of the PHP Programming Forums category; Is there a function, or any roundabout way to get the current directory other than using an exec or system ...


Go Back   Usenet Forums > PHP Programming Forums > PHP Language

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 06-03-2004
Donald Thompson
 
Posts: n/a
Default php function equivalent for UNIX 'pwd' command

Is there a function, or any roundabout way to get the current directory
other than using an exec or system to just run pwd?

-Don
Reply With Quote
  #2 (permalink)  
Old 06-03-2004
Mladen Gogala
 
Posts: n/a
Default Re: php function equivalent for UNIX 'pwd' command

On Thu, 03 Jun 2004 03:27:22 +0000, Donald Thompson wrote:

> Is there a function, or any roundabout way to get the current directory
> other than using an exec or system to just run pwd?
>
> -Don


getcwd()

--
Trust me, I know what I'm doing. (Sledge Hammer)

Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT +1. The time now is 08:42 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0