Re: [PHP] Obtaining the base dir of a file in a web server

2005-01-18 Thread Richard Lynch
Juan Antonio Garrido wrote: > I use this sentence ($htmlFile = $_SERVER['DOCUMENT_ROOT'] ) for obtaining > the > complete route of a file in my web server, but inserts a white space to > final char and i need remove it. I use the trim function but it continue > there. How can i remove it? Can it b

Re: [PHP] Obtaining the base dir of a file in a web server

2005-01-17 Thread Leif Gregory
Hello Juan, Monday, January 17, 2005, 2:23:23 AM, you wrote: JAG> I use this sentence ($htmlFile = $_SERVER['DOCUMENT_ROOT'] ) for JAG> obtaining the complete route of a file in my web server, but JAG>  inserts a white space to final char and i need remove it. I use JAG> the trim function but it c