|
Posted by Leif Gregory on 01/17/05 16:43
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 continue there. How can i remove it? Can
JAG> it be anohter char?
See if this does it.
$htmlFile = trim($_SERVER['DOCUMENT_ROOT']);
Cheers,
Leif Gregory
--
TB Lists Moderator (and fellow registered end-user)
PCWize Editor / ICQ 216395 / PGP Key ID 0x7CD4926F
Web Site <http://www.PCWize.com>
Navigation:
[Reply to this message]
|