Re: user directory from a form
| From: | Niel Archer | Date: | Sun, 01 Oct 2006 18:07:21 +0000 |
| Subject: | Re: user directory from a form | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-42445@lists.php.net to get a copy of this message | ||
Hi
> I apologise for using this mailing list but I cannot find another.
A listing can be found at http://lists.php.net/
Failing finding one more specific, the list to use would be php-general.
> I pass this to another file. I am trying to read the directory that the
> users file is in. ie "/srv/www/htdocs/functions/email/file.txt", I want
> to read the "/srv/www/htdocs/functions/email/". The variable $filename
> only gives the "file.txt" as a value.
I'm not sure I understand the problem! Are you saying the path is being
cut leaving only the filename, or you don't know how to extract the path?
Niel