| Home »
Categories »
Multiple Categories |
What is the server path? |
|
Article Number: 402 | Rating: 2.8/5 from 4 votes | Last Updated: Thu, Apr 23, 2015 at 12:13 PM
|
The server path to your website is partially determined by your domain name, but if you are on a shared hosting package, it will always be in the following format:
/home/sites/your-domain-name.com/public_html
If you are using PHP, you can also find out this path by including the following code into a PHP script:
echo getcwd();
|
Posted - Mon, Mar 16, 2015 at 3:15 PM. Filed Under: ASP, CGI, HTML, Other, Perl, PHP, Programming Languages, Python, Ruby, Site Management, Software, Web Hosting |
|
2.75 (4)
Article Rating (4 Votes)
Rate this article
|
| |
| |
|