php function equivalent for UNIX 'pwd' command

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Donald Thompson

    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
  • Mladen Gogala

    #2
    Re: php function equivalent for UNIX 'pwd' command

    On Thu, 03 Jun 2004 03:27:22 +0000, Donald Thompson wrote:
    [color=blue]
    > 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[/color]

    getcwd()

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

    Comment

    Working...