By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
434,903 Members | 2,075 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 434,903 IT Pros & Developers. It's quick & easy.

poder acceder a variables de servidor

P: n/a
Hola
en mi servidorcete linux le pongo
echo $HTTP_SEVER['DOCUMENT_ROOT'];
echo ($DOCUMENT_ROOT);
$docroot = getenv("DOCUMENT_ROOT");
echo("-".$docroot."-");

peor no me muestra el document root

alguein sabe que le tengo que cambiar en el php.ini para poder usarlo?
gracias
Jul 17 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
*** [ZaToPeK] wrote/escribió (3 Dec 2003 01:11:29 -0800):
echo $HTTP_SEVER['DOCUMENT_ROOT'];
echo ($DOCUMENT_ROOT);
$docroot = getenv("DOCUMENT_ROOT");
echo("-".$docroot."-");


echo $_SERVER['DOCUMENT_ROOT']; // Apache web server only?
P.S.: es.comp.lenguajes.php

--
--
-- Álvaro G. Vicario - Burgos, Spain
--
Jul 17 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.