Help-Document_ROOT

Started on the old forum in July 2011 · view the original in the archive · old links redirect here

9 replies · 443 views · started 15 years ago · 1 min read

6 participants
puge Developer · 54 posts #1

Hi friends, i'm confuse about this tag -> /home/wapgam/public_html

  1. How can i create tag: wapgam/public_html? I think it should be public_html/wapgam ... Help. How to create this in my host root.

Thanks.

puge Developer · 54 posts #3

Nope bro, like this:

$GLOBALS['_SERVER']['DOCUMENT_ROOT'] = "/home/wapgam/public_html";

s3nzo Developer · 156 posts #5

puge wrote: public_html/wapgam

This is impossible because wapgam is the name/username to your cpanel that's the name your host use to identify your account on their server and you shouldn't post it in forums

puge Developer · 54 posts #6

The problem is that. How can i create a root on my host like: home/wapgem/public_html? ... E.g: public_html is a root.

Friend, thank but wapgem is unknown to me, just for example.

rockman Junior · 20 posts #7

thats impossible, i think you want a redirect to your wapgem.

kei_ki7 Senior · 431 posts #8

/home/wapgam/public_html/ If you have wapgam folder then the path is /home/wapgam/public_html/wapgam/

/home/USERNAME/public_html/FOLDER/

Did I help you? You can help me too Your donations will help me finance my studies.

puge Developer · 54 posts #9

Thank kei_ki7, you enlite me abit. I got it, thank to others contributors.

arnage Lead · 811 posts #10

When u r in /public_html/'s index.php this super global

$_SERVER['DOCUMENT_ROOT']

... looks like: /home/something/public_html/ and when u r in /wapgam/'s index.php it looks like: /home/something/public_html/wapgam/

<!DOCTYPE html PUBLIC "-//***WAPFORUM**.**RS***

Sign in to reply.

Similar topics

Keyboard shortcuts

g f
Go to forums
g h
Go to your feed
g m
Go to messages
r
Reply (in a topic)
/
Search
j
Next post
k
Previous post
?
This list
Ctrl/⌘ + Enter
Send what you are writing
Ctrl/⌘ + B / I
Bold / italic while writing
Esc
Close