On Friday 03 October 2003 01:33, zavaboy wrote:
> How do I get my FULL path... I made a web-based installer and it uses a
> path.
>
> Ok, my path to where I need it is:
> /home/jimbug/public_html/zavaboy/phptest/ZML
>
> Using dirname():
> /phptest/ZML
>
> Why is that?

If you're saying:

  echo dirname(); // outputs: /phptest/ZML

then you've got a bug in your copy of PHP.

> How can I get PHP to output '/home/jimbug/public_html/zavaboy/phptest/ZML'
> automatically?

All the info you need should be in $_SERVER.

-- 
Jason Wong -> Gremlins Associates -> www.gremlins.biz
Open Source Software Systems Integrators
* Web Design & Hosting * Internet & Intranet Applications Development *
------------------------------------------
Search the list archives before you post
http://marc.theaimsgroup.com/?l=php-general
------------------------------------------
/*
NT (as in Windows NT) is short for "Nothing There".
*/

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

Reply via email to