> With IIS $path gives the actual path to the directory in which the PHP
> scripts reside. With Apache, $path is empty. What have I missed? This
> is my first use of Apache, so it's configuration is new for me.
What Apache gives depends on what Apache is configured to give...
$PHP_SELF is supposed to always have the path to PHP, but it's broken under
Windows CGI, I think...
Anyway, any time you have a question like this, the good news is:
<?php phpinfo();?>
If what you want is there, you have it. If it's not there, it's because
Apache ain't giving it to PHP -- So you'll need to edit httpd.conf to change
it.
Don't miss the Zend Web Store's Grand Opening on January 23, 2001!
http://www.zend.com
Wanna help me out? Like Music? Buy a CD: http://l-i-e.com/artists.htm
Volunteer a little time: http://chatmusic.com/volunteer.htm
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]