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? Link to comment https://forums.phpfreaks.com/topic/38187-solved-_server-string/ 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 Link to comment https://forums.phpfreaks.com/topic/38187-solved-_server-string/#findComment-182801 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.