note 40028 added to function.chdir
| From: | johnzondag at home dot nl | Date: | Thu, 19 Feb 2004 12:02:55 +0000 |
| Subject: | note 40028 added to function.chdir | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-65377@lists.php.net to get a copy of this message | ||
I tried to get chdir to work with a string like
chdir ("/vak2002");
chdir ('/vak2002');
chdir ("./vak2002");
It simply did not work. It only works for me (locally and on my webpage) when I use a
string-variable, as in
$temp = "./vak2002";
chdir ($temp);
I don't know why, but if your chdir does not seem to work, try this.
----
Manual Page -- http://www.php.net/manual/en/function.chdir.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+40028
Delete -- http://master.php.net/manage/user-notes.php?action=delete+40028&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+40028&report=yes
Search -- http://master.php.net/manage/user-notes.php