Re: how to retrieve path to web server files
| From: | M. Sokolewicz | Date: | Sat, 25 Sep 2004 12:29:27 +0000 |
| Subject: | Re: how to retrieve path to web server files | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-197817@lists.php.net to get a copy of this message | ||
$path = getcwd();
Amc wrote:
Hi, How can I get the string that is the path to the directories on my web server? I need to upload some files, but don't know what to supply for the destination path. In asp I used server.mappath, but I'm new to php. Thanks,