you could try pathinfo()
http://us3.php.net/pathinfo
On Feb 2, 2006, at 8:59 AM, Jeremy Privett wrote:
John Nichel wrote:
$_SERVER['DOCUMENT_ROOT']
http://www.php.net/manual/en/
reserved.variables.php#reserved.variables.server
Nope. I've already tried that... $_SERVER['DOCUMENT_ROOT'] contains
/home/jeremy/public_html/test/ ... All I want is to the public_html
part.
--
Jeremy Privett [ http://www.jeremyprivett.com ]
Founder - Lead Software Developer - Hosting Systems Administrator
Omega Vortex
(http://www.omegavortex.com)
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php