note 8977 added to chdir
| From: | peter dot warasin at darkrealms dot org | Date: | Tue, 10 Oct 2000 00:32:00 +0000 |
| Subject: | note 8977 added to chdir | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-6282@lists.php.net to get a copy of this message | ||
On Linux there is the same Problem with the blank at the end of the result of
pwd.
Use: $old_cwd = trim(pwd);
http://www.php.net/manual/function.chdir.php