Re: [PHP] Getting the right path output from $_SERVER

2006-05-22 Thread Richard Lynch
On Mon, May 22, 2006 12:12 am, Dave M G wrote: > What I am trying to achieve is to output the path in which the current > script is executing, without having the name of the file attached. I'm > hoping to be able to do this without complicated code to truncate path > names and whatnot. > > Either o

Re: [PHP] Getting the right path output from $_SERVER

2006-05-21 Thread Chris
Dave M G wrote: PHP General, What I am trying to achieve is to output the path in which the current script is executing, without having the name of the file attached. I'm hoping to be able to do this without complicated code to truncate path names and whatnot. Either of these two variables