note 3089 modified in chdir by ronabop
| From: | ronabop@php.net | Date: | Sat, 12 Aug 2000 23:57:24 +0000 |
| Subject: | note 3089 modified in chdir by ronabop | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-1778@lists.php.net to get a copy of this message | ||
<PRE>
To store the current directory before using this command, try this:
$old_cwd =
pwd;
Then when you need to restore that directory, just chdir($old_cwd)
</PRE>
http://www.php.net/manual/function.chdir.php