Page 1 of 1

file path question

Posted: Thu Apr 10, 2003 4:34 am
by Guy
how can I get the physical path that im in (d:\myaap\images)
without the file im in now at the end (like realpath returns?
Guy

Posted: Thu Apr 10, 2003 4:43 am
by volka
you might extract the path with array pathinfo ( string path)

Posted: Thu Apr 10, 2003 6:38 am
by twigletmac
Or if you're actually in the directory you need the info for you can use getcwd().

Mac