I've a small script in a windows enviroment that chdir's to the root level of a shared network drive and lists contents, very easy ( chdir("N:") ). When run from prompt all is well, but when calling script from a browser it will not change to that directory. Can someone explain why? TIA