473,473 Members | 1,742 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

doc_root value shown no value

2 New Member
i want know to about the document root on web server, i use phpinfo() to get the doc_root, but i can't get it. how can i resolve the problem
Jul 16 '07 #1
2 3075
code green
1,726 Recognized Expert Top Contributor
phpinfo() gets the php config settings.
What are you trying to discover about the root?
Jul 18 '07 #2
ak1dnar
1,584 Recognized Expert Top Contributor
i want know to about the document root on web server, i use phpinfo() to get the doc_root, but i can't get it. how can i resolve the problem
Prabhash,
Are you looking for something like this...?

Expand|Select|Wrap|Line Numbers
  1.  
  2. echo $_SERVER['DOCUMENT_ROOT'];
  3.  
Jul 18 '07 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

3
by: Paul | last post by:
Dear all, I have a website hosted on Apache, where phpinfo gives DOCUMENT_ROOT as /home/mysite/public_html, and include_path as ..:/usr/lib/php:/usr/local/lib/php; I have no control over these....
9
by: Andrew | last post by:
It seems that in C#, given an instance "a" of some value type "A", one can pass a by reference to functions with signatures of either "void f(object obj)" or "void g(ref A obj)". But passing a into...
1
by: asad | last post by:
Hello, i want to populate the drop down box values based on the first drop down box value, actually i have form in which user will select a car maker and based on that value below 2 drop down...
25
by: guy | last post by:
i have inherited the following migrated vb6 code (vb2005) but i DONT get the "not all paths return a value" squiggly - is this a 'feature' of on error goto? Private Function CreateFolder(ByVal...
6
by: Niyazi | last post by:
Hi all, What is fastest way removing duplicated value from string array using vb.net? Here is what currently I am doing but the the array contains over 16000 items. And it just do it in 10 or...
6
by: =?Utf-8?B?U2hhcm9u?= | last post by:
I'm using the VScrollBar and set it as follow: m_vScrollBar.Minimum = -19602; m_vScrollBar.Maximum = 0; m_vScrollBar.SmallChange = 1; m_vScrollBar.LargeChange = 1089; m_vScrollBar.Value =...
0
by: Manpreet | last post by:
Hi, I have a web part page with a toolbar webpart and a grid webpart. In the toolbar, I have menu-items to update a field. For selecting the value of the field I have another asp.net webform...
5
by: Blackmore | last post by:
I am attempting to loop through a list of string variables to define the values in a group of checkboxes. However, I am having difficulty writing the correct syntax, as the following syntax produces...
1
by: IanHollamby | last post by:
I am new to XML/XSL formatting so have a fundamental question/problem. I have two formats of XML data that I require to format, the first XML file (which is under my control) uses child elements as...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
1
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.