xyn Posted February 12, 2007 Share Posted February 12, 2007 Hey guys, this is a quick one.. What is the $_SERVER string, or Document for the current Directory... Like PHP_SELF, but without the page? Quote Link to comment Share on other sites More sharing options...
kenrbnsn Posted February 12, 2007 Share Posted February 12, 2007 $_SERVER is a superglobal array. To see what it contains, create a script containing <?php echo '<pre>' . print_r($_SERVER,true) . '</pre>'; ?> Ken Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.