Obtaining the base dir of a file in a web server

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi everybody:

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 be anohter char?

-- 

-------------------------------------------
Juan Antonio Garrido Mata
Emergya S.C.A
Tel. +34 954 98 10 53  FAX +34 954 98 11 79
Avda. Luis Montoto, 105.
E41007 - Sevilla(España)
jagarrido@xxxxxxxxxxxx
http://www.emergya.info

-------------------------------------------

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux