Re: Re: how to retrieve path to web server files

From: Date: Sat, 25 Sep 2004 21:17:50 +0000
Subject: Re: Re: how to retrieve path to web server files
References: 1 2 3  Groups: php.general 
Request: Send a blank email to php-general+get-197833@lists.php.net to get a copy of this message
$base_dir = $_SERVER['document_root'] On Sat, 25 Sep 2004 14:17:16 -0700, Jasper Howard <blackliquid@gmail.com> wrote: > > > On Sat, 25 Sep 2004 14:29:27 +0200, M. Sokolewicz <tularis@php.net> wrote: > > $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, > > > > -- > > PHP General Mailing List (http://www.php.net/) > > To unsubscribe, visit: http://www.php.net/unsub.php > > > > > > > -- > <<-------------------------------------------------------- > Jasper Howard - Database Administration > ApexEleven.com > 530 559 0107 > ------------------------------------------------------->> > -- <<-------------------------------------------------------- Jasper Howard - Database Administration ApexEleven.com 530 559 0107 ------------------------------------------------------->>

« previous php.general (#197833) next »